Error SQL:


QUERY:
select distinct(menu.id), menu.*, house.id as house_id, house.text_name as house_name, house.text_value as house_value, cat.img_img as cat_img from krasn_ru_foodmenu as menu left join krasn_ru_foodmenu_foodcat as mcat on mcat.parent = menu.id left join krasn_ru_foodcat as cat on cat.id = mcat.text_name left join krasn_ru_foodmenu_foodhouse as hcat on hcat.parent = menu.id left join krasn_ru_foodhouse as house on house.id = hcat.text_name where menu.check_active = 1 order by menu.text_name limit 50,10
MYSQL Error:Got error 28 from storage engine