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;
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;