发布网友
共1个回答
热心网友
写个不存在子节点的条件就可以,not exists .....
select *
from aa table1, aa table2
where 不存在子节点
connect by prior
table1.XX= table2.XXXX
start with table1.XX = ''