select a.element_id paramId,a.parent_element_id parentId, a.privilege_name text,a.location urls,a.seq_id seqId from interface_element_t a start with a.element_id='800' connect by a.parent_element_id = prior a.element_id
order SIBLINGS by seqid;
说明:不能带distinct
参考http://space.itpub.net/559237/viewspace-604465
oracle 递归查询,带排序
猜你喜欢
转载自mycrazy.iteye.com/blog/1503821
今日推荐
周排行