表中pid,id两个字段
select pid,id from 表名 start with id= 1102 connect by prior pid=id
select pid,id from 表名 start with id= 1102 connect by prior id=pid
查询出两种顺序的树
表中pid,id两个字段
select pid,id from 表名 start with id= 1102 connect by prior pid=id
select pid,id from 表名 start with id= 1102 connect by prior id=pid
查询出两种顺序的树