oracle父子级查询数据树结构

select t.*, level , sys_connect_by_path (t .id, '-->') as tree from isc_res_res_r t connect by prior t.res_id =t .relation_res_id;

原文地址:https://www.cnblogs.com/langan/p/11976251.html