摘要: 公司组织架构表:organization 一、查询子级 select * from organizationstart with id='1'connect by prior id = parent_id 解析: 1、首先找出id=1的记录 2、prior在那一边,则取上条记录那个字段。例如上面pr 阅读全文
posted @ 2018-04-23 21:41 N神3 阅读(331) 评论(0) 推荐(0) 编辑