The following query can be used to return all the Oracle Portal pages within a particular page branch, including the level at which they appear in the tree.
SELECT
id "ID",
level "LEVEL",
parentid "PARENTID",
name "NAME",
title "TITLE"
FROM wwpob_page WHERE siteid=999 AND base_type=1
CONNECT BY PRIOR id=parentid
START WITH id=11111 AND siteid=999
ORDER SIBLINGS BY TITLE;
'http://www.example.com:7780/portal/page/mydb/' || guid "URL"