Skip to content
Advertisement

How can I join SQL subqueries as they are?

I have 3 subqueries that when executed independently they all return 3 rows with the desired columns and values. Once I put them all in the from statement and select them all

This is the result of all three subqueries being respectively executed standalone

Standalone

This is the result

Snippet above being run

I expect them to be joined together and have three rows with the queries aligned horizontally.

That unfortunately is not the given result.

I hope this makes sense to a certain extent.

Advertisement

Answer

Maybe you need in this:

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