Skip to Main Content

Comparing results of 3 different select-statements

ZudarAug 17 2018 — edited Aug 17 2018

Hi all,

I'm struggling with the following:

I have three different (and quite complex) select-statements that return two columns:

Query 1: select ID, Type1 from ......... (irrelevant)

Query 2: select ID, Type2 from ......... (irrelevant)

Query 3: select ID, Type3 from ......... (irrelevant)

Now, from these three queries, I would like to generate something like this:

IDType1Type 2Type 3
3278562347332
2348723084421
2349283742333

How do I do this?

This post has been answered by Hans Steijntjes on Aug 17 2018
Jump to Answer
Comments
Post Details
Added on Aug 17 2018
6 comments
232 views