Oracle递归查询SQL语句

Oralce有找存在父子关系的数据,也就是树形结构的数据
select * from table [start with condition1] connect by [prior] id=parentid
但是其他的数据库好像都没有,要么写很复杂的SQL,要么交给程序去处理,比较遗憾。

posted on 2023-03-31 10:24  因思道客  阅读(41)  评论(0)    收藏  举报

导航