creating tree in oracle form [message #399003] |
Mon, 20 April 2009 04:39 |
irfankundi786@yahoo.com
Messages: 269 Registered: February 2009 Location: pakistan
|
Senior Member |
|
|
I want to create tree in oracle form
but i found query on net that is
SELECT 1, LEVEL, ename, '', TO_CHAR(empno)
FROM emp
CONNECT BY PRIOR empno = mgr
START WITH job = 'PRESIDENT'
i can not understant this query ,
what deos the prior empno=mgr
what is meaning by start with job='president'
please explain these two steps with detail.
thanks
|
|
|
|