CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
database
> Questions about recursion or iteration
Questions about recursion or iteration
Time:09-17
If by a parent node, or intermediate node, query the last level of all child nodes,
As long as the final stage,
CodePudding user response:
Select * from table_test
Where CONNECT_BY_ISLEAF=1
Start with parentid=1
Connect by the prior id=parentid
Page link:
https//www.codepudding.com/database/4721.html
Prev:
Don't know which column data, which column without the data, and the table fields more than one
Next:
consult
Tags:
The development of
Related
Links:
CodePudding