Skip to content
Advertisement

Combine two queries to get the data in two columns

This returns

enter image description here

Using this statement

Which returns

enter image description here

I would like to combine these 2 queries in 1 to get the below result.

enter image description here

Tried union / union all but no success 🙁

Any help will be very much helpful.

Advertisement

Answer

You can simply use the sub-query as follows:

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