层次查询 select * from emp; select empno, ename, job, mgr, sal, deptno,level lv, sys_connect_by_path(ename, '->') tree_path, connect_by_root(ename) tree_root, connect_by_isleaf isleaf, decode(connect_by_isleaf,1,ename,null) tree_leaf from emp start with…