Oracle递归查询SQL语句
摘要:Oralce有找存在父子关系的数据,也就是树形结构的数据 select * from table [start with condition1] connect by [prior] id=parentid 但是其他的数据库好像都没有,要么写很复杂的SQL,要么交给程序去处理,比较遗憾。
阅读全文
posted @ 2023-03-31 10:24
posted @ 2023-03-31 10:24
posted @ 2022-06-20 09:31
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
26 | 27 | 28 | 29 | 30 | 31 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 | |||
9 | 10 | 11 | 12 | 13 | 14 | 15 | |||
16 | 17 | 18 | 19 | 20 | 21 | 22 | |||
23 | 24 | 25 | 26 | 27 | 28 | 1 | |||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
Powered by:
博客园
Copyright © 2025 因思道客
Powered by .NET 9.0 on Kubernetes