Hi,
Please help me with SQL code that would do Union of two query results NOT having same columns. For example, first result returns columns A,B,C and D and second result returns columns A,B and C. I do not want rows with duplicate values for A, B and C columns.
Result 1:
A B C D
1 2 3 4
1 3 4 5
Result 2:
A B C
1 2 3
7 8 9
Final Desired Result:
A B C D
1 2 3 4
1 3 4 5
7 8 9 NULL
Thanks,
B. Senjalia