oracle 树状查询中的 prior

bigzhu posted @ Aug 19, 2010 09:57:59 PM in oracle with tags oracle SQL , 2493 阅读

刚接触树状查询的时候,总对树状查询中的 prior 很迷惑,其实 prior 用处很简单

决定树的遍历方向

树向父结节点方向生长:

select * from bss_org connect by  bss_org_id= prior bss_parent_org_id start with bss_org_id=876

树向子结点方向生长:

select * from bss_org connect by prior bss_org_id=  bss_parent_org_id start with bss_org_id=1
marz 说:
Aug 20, 2010 08:06:51 AM

关于prior我也不是很懂, 个性

NCERT Hindi Sample P 说:
Sep 29, 2022 08:09:54 PM

Hindi is a very important language subject to know in India and we are here to tell you why. In this article, NCERT Hindi Sample Paper Class 10 we will be discussing the importance of learning Hindi. From children to adults, everyone takes up a second language at some point in their life. With the ongoing situation, you could have not found a better time to learn a new language.Hindi is a very important language subject to know in India and we are here to tell you why. In this article.Hindi is a very important language subject to know in India and we are here to tell you why. In this article


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter