Oracle
 sql >> Datenbank >  >> RDS >> Oracle

Hierarchische SQL-Frage

SELECT  *
FROM    mytable
START WITH
        myid = :id
CONNECT BY
        myparentid = PRIOR myid