sql >> Base de Datos >  >> RDS >> Oracle

Pregunta de SQL jerárquico

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