oracle 递归查询,带排序

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)