Help for this page
Select Code to Download
Select
or
download this
SELECT id FROM thetable START WITH id = 1 CONNECT BY PRIOR next = id