【2016-11-7】【坚持学习】【Day22】【Oracle 递归查询】

直接在oracle 递归查询语句oracle

select * from groups start with id=:DeptId connect by prior superiorid =id

 

往下找spa

select * from groups start with id=:DeptId connect by prior id=superiorid
相关文章
相关标签/搜索