select * from jyjc.DANWEI dw start with dw.id in (select dw.id from jyjc.DANWEI dw where dw.danwei is null ) connect by prior dw.id = dw.danwei order siblings by dw.diqu
select * from jyjc.DANWEI dw start with dw.id in (select dw.id from jyjc.DANWEI dw where dw.danwei is null ) connect by prior dw.id = dw.danwei order siblings by dw.diqu