select f.name, (select site_node.url(node_id) from site_nodes where object_id= file_storage.get_package_id(:folder_id)) as url from fs_folders f where f.folder_id=:folder_id