postgresql7.1 select site_node__url(min(node_id)) from site_nodes where object_id = :package_id