oracle8.1.6 select s.survey_id, s.name, s.editable_p, s.single_response_p, s.package_id, acs_object.name(apm_package.parent_id(s.package_id)) as parent_name, (select site_node.url(site_nodes.node_id) from site_nodes where site_nodes.object_id = s.package_id) as url from surveys s where enabled_p='t' order by parent_name, upper(s.name)