Skip to content
Advertisement

Merge, Combine, Join 2 different rows in 1 single row Google SQL | Big Query

I have the following table:

I’m using this query to get the above result:

However, I would like to combine both rows in a single one, something like this:

How am I able to output this in Google SQL? I’m new to SQL world, happy if you could help me out 🙂

Thanks in advance for the assistance.

Advertisement

Answer

Just remove GROUP BY post_state:

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