SELECT menu.name as name,menu_cat.name as menu_cat from menu left join menu_cat on menu.menu_cat=menu_cat.id where menu.id = gallery/menu49/images/ico/favicon-32x32.png