combining 4 tables
Hi a have 4 tables
Table A
ID | Data 1
---------------
1 | A
2 | W
Table B
ID | Data 2
-----------------
1 | B
1 | C
2 | X
Table C
ID | Data 3
----------------
1 | D
1 | E
1 | F
Table D
ID | Data 4
----------------
1 | G
1 | H
2 | Z
I want to have this result
Table Result
ID | Data 1 | Data 2 | Data 3 | Data 4
-----------------------------------------------------------------------
1 | A | B | D | G
| null | C | E | H
| null | null | F | null
2 | W | X | null | Z
I tried different kind of join statement but i could not achieve my desired output.
Pls help.....
Subject
Views
Written By
Posted
combining 4 tables
1781
January 18, 2012 10:53AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.