`
zgqynx
  • 浏览: 1346404 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

得到叶子结点 oracle

阅读更多
select t.*

  from tab t

where not exists (select 1 from tab s where s.pid = t.cid)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics