Skip to content
Advertisement

Join three count queries and get results in to three columns

I want to combine three count queries and get results in to separate columns. This is how my data set looks like.

enter image description here

I have tried this

This is my output

enter image description here

But expected output is something like this

enter image description here

Advertisement

Answer

Just use conditional aggregation . . . multiple times:

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