select t.tree_id, l.url as link_url from ml_country_category_tree t, mail_links l where t.package_id = :package_id and l.link_id = :link_id