I would like to ask you to help me to find top level id from multilevel structure.
my code is:
SELECT level,id_component, CONNECT_BY_ROOT id_part
FROM structure
START WITH id_component = '123'
CONNECT BY PRIOR id_part = id_component
this give me result like:
level id_component id_part
----- ------------ -------
1 123 770
2 770 771
3 771 778
3 771 880
but I need only two id_part from level 3
(778
and 880
)
many thanks