码迷,mamicode.com
首页 > 数据库 > 详细

Oracle ->> 层级查询语句(hierarchical query)connect by

时间:2015-07-05 18:11:59      阅读:120      评论:0      收藏:0      [点我收藏+]

标签:

Oracle中的Connect By... Start With语句实现了递归查询或者树状查询。

Connect By Prior 一方为起始(root)的ID

 

参考:

http://www.360doc.com/content/13/0422/16/11947209_280153192.shtml

http://www.oradev.com/connect_by.jsp

http://blog.csdn.net/haiross/article/details/17583725#t0

http://blog.csdn.net/haiross/article/details/17586565

Oracle ->> 层级查询语句(hierarchical query)connect by

标签:

原文地址:http://www.cnblogs.com/jenrrychen/p/4622549.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!