Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: A simple select question
Hello Abiy.
With 7.3 you could try this:
(For earlier versions of ORACLE you must first create a
view like the inline view in the statement)
select level, prior name name1, name name2 from (select No_W no, NULL father_no, Name_W name
from tab_w union select NO_X no , No_W father_no, Name_X name from tab_X union select No_Y no , No_X father_no, Name_Y name from tab_Y union select No_Z no , No_X father_no, Name_Z name from tab_Z)
HTH Angelito. Received on Tue Nov 10 1998 - 09:56:23 CST
![]() |
![]() |