摘要: Oracle中start with和connect by 用法理解转自:http://www.blogjava.net/xzclog/archive/2010/03/05/314642.html,多谢博主分享 connect by 是结构化查询中用到的,其基本语法是: 1 select … from 阅读全文
posted @ 2021-07-28 08:50 痴迷的小和尚 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: select * from sm_organ_tb start with organ_no = '111111' connect by prior parent_organ=organ_no; select * from sm_organ_tb where organ_no <> '111111' 阅读全文
posted @ 2021-07-28 08:46 痴迷的小和尚 阅读(166) 评论(0) 推荐(0) 编辑