Skip to content
Advertisement

Pivot rows into column Googlesql

I have a data like below

I need something like

Need something similar to Pivot in googlesql/standard sql

Thanks In Advance

Advertisement

Answer

You can use Conditional Aggregation :

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