Skip to content
Advertisement

Convert sql rows to single row multiple columns data

I have this structure in table

and i need it in flat one row multiple columns structure

Please help with the query.

Advertisement

Answer

In Oracle, You can use the PIVOT as follows:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement