select n.node_id from site_nodes n, site_nodes top, apm_packages p where top.parent_id is null and n.parent_id = top.node_id and p.package_id = n.object_id and p.package_key = 'categories' select object_id from acs_objects where title = '#glossar.from_default_object_id#' select object_id from acs_objects where title = '#glossar.to_default_object_id#'