1 select level,empno,ename,sal,mgr 2 from emp 3 connect by prior empno=mgr 4 start with mg
SQL>selectcount(*) 2 fromempe,empb 3 ; COUNT(*)---------- 196SQL>selecte.ename||'的老板是'||b.ename 2 fromempe,empb 3 wheree.mgr=b.empno;E.ENAME||'的老板是'||B.ENAME----------------------------FORD的老板是JONE