Invalid MySQL query

MySQL server has gone away

SELECT b.Id, b.BannerTitle, b.BannerFilename, b.BannerUrl, b.BannerType, b.BannerWidth, b.BannerHeight, b.banner_other_title, b.Type, b.Name FROM ch_banners b WHERE b.Type = 6 AND (b.StartDate IS NULL OR b.StartDate <= CURDATE()) AND (b.EndDate IS NULL OR b.EndDate >= CURDATE()) AND b.CategoryId IN(0) AND b.CityId = 269Invalid MySQL query

MySQL server has gone away

SELECT b.Id, b.BannerTitle, b.BannerFilename, b.BannerUrl, b.BannerType, b.BannerWidth, b.BannerHeight, b.banner_other_title, b.Type, b.Name FROM ch_banners b WHERE b.Type = 7 AND (b.StartDate IS NULL OR b.StartDate <= CURDATE()) AND (b.EndDate IS NULL OR b.EndDate >= CURDATE()) AND b.CategoryId IN(18)Invalid MySQL query

MySQL server has gone away

SELECT b.Id, b.BannerTitle, b.BannerFilename, b.BannerUrl, b.BannerType, b.BannerWidth, b.BannerHeight, b.banner_other_title, b.Type, b.Name FROM ch_banners b WHERE b.Type = 5 AND (b.StartDate IS NULL OR b.StartDate <= CURDATE()) AND (b.EndDate IS NULL OR b.EndDate >= CURDATE()) AND b.CategoryId IN(18)Invalid MySQL query

MySQL server has gone away

SELECT b.Id, b.BannerTitle, b.BannerFilename, b.BannerUrl, b.BannerType, b.BannerWidth, b.BannerHeight, b.banner_other_title, b.Type, b.Name FROM ch_banners b WHERE b.Type = 1 AND (b.StartDate IS NULL OR b.StartDate <= CURDATE()) AND (b.EndDate IS NULL OR b.EndDate >= CURDATE()) AND (b.CityId = 269 OR b.CityId = 1)Invalid MySQL query

MySQL server has gone away

SELECT b.Id, b.BannerTitle, b.BannerFilename, b.BannerUrl, b.BannerType, b.BannerWidth, b.BannerHeight, b.banner_other_title, b.Type, b.Name FROM ch_banners b WHERE b.Type = 2 AND (b.StartDate IS NULL OR b.StartDate <= CURDATE()) AND (b.EndDate IS NULL OR b.EndDate >= CURDATE()) AND b.CategoryId IN(18)Invalid MySQL query

MySQL server has gone away

SELECT opt.id, opt.name, opt_cat.name opt_name FROM ch_companies_options_categories opt_cat LEFT JOIN ch_companies_options opt ON opt_cat.opt_id = opt.id WHERE opt_cat.cat_id = 18Invalid MySQL query

MySQL server has gone away

SELECT * FROM ch_companies_options WHERE parent = 819 ORDER BY nameInvalid MySQL query

MySQL server has gone away

SELECT opt.id, opt.type, opt.label as name, opt.label_end, opt.min_val as min, opt.max_val as max FROM fav_categories_options opt_cat LEFT JOIN fav_options opt ON opt_cat.oid = opt.id WHERE opt.active_for_search = 1 AND opt_cat.cat_id = 18 ORDER BY opt_cat.posInvalid MySQL query

MySQL server has gone away

SELECT DISTINCT st.street_id, st.name, st.kind, name_yandex FROM ch_streets st INNER JOIN ch_companies_addresses comp_addr ON st.street_id = comp_addr.street_id INNER JOIN fav_companies comp ON comp_addr.comp_id = comp.id WHERE comp.category = 18Invalid MySQL query

MySQL server has gone away

SELECT COUNT(t.name) cols FROM (SELECT DISTINCT comp.name name FROM fav_companies comp LEFT JOIN ch_companies_options_selected sel ON comp.id = sel.comp_id INNER JOIN ch_companies_addresses addr ON comp.id = addr.comp_id WHERE comp.category = 18 AND comp.is_closed = 0 GROUP BY addr.id ) tInvalid MySQL query

MySQL server has gone away

SELECT comp.id, comp.name, addr.address, addr.coord1, addr.coord2, comp.external_url, premium.admin_id is_premium FROM fav_companies comp LEFT JOIN ch_companies_options_selected sel ON comp.id = sel.comp_id INNER JOIN ch_companies_addresses addr ON comp.id = addr.comp_id LEFT JOIN ch_users_companies premium ON premium.comp_id = comp.id AND premium.comp_id = sel.comp_id WHERE addr.lang_id IS NULL AND comp.category IN (18) AND comp.is_closed = 0 GROUP BY addr.id ORDER BY comp.posInvalid MySQL query

MySQL server has gone away

SELECT DISTINCT comp.id id, comp.name name, comp.descrip, comp.promo_descrip, comp.cat_descrip, comp.address, comp.coords, comp.coord1, comp.coord2, comp.tel, comp.domain, comp.working_time, comp.orderby_id, comp.type, comp.www, comp.comments, comp.panoramas, comp.photos, comp.show_comments, comp.show_links, comp.is_closed, comp.main_picture as filename, premium.admin_id is_premium FROM fav_companies comp LEFT JOIN ch_companies_options_selected sel ON comp.id = sel.comp_id INNER JOIN ch_companies_addresses addr ON comp.id = addr.comp_id LEFT JOIN ch_users_companies premium ON premium.comp_id = comp.id AND premium.comp_id = sel.comp_id WHERE (comp.category = 18 OR comp.category2 = 18) AND comp.is_closed = 0 GROUP BY addr.id ORDER BY comp.pos LIMIT 0, 30Invalid MySQL query

MySQL server has gone away

SELECT * FROM ch_metro ORDER BY line, posInvalid MySQL query

MySQL server has gone away

SELECT * FROM ch_districts WHERE city_id = 269 ORDER BY nameInvalid MySQL query

MySQL server has gone away

SELECT * FROM ch_geo_nearest2city_settlements AS s WHERE s.city_id = 269 AND s.show = 1 ORDER BY s.nameInvalid MySQL query

MySQL server has gone away

SELECT DISTINCT n.id, n.title, n.descrip, n.period_start,n.filename, DAY(n.period_start) nday, MONTH(n.period_start) nmonth, YEAR(n.period_start) nyear FROM ch_news n WHERE (n.live = 1 OR n.live = 2) AND n.city = 269 AND (cid = 1 OR cid = 4) AND n.cat_topic = 18 AND n.type IN (2,4,6,7) AND n.period_start <= NOW() AND (n.finish_date >= CURDATE() OR n.finish_date is Null) ORDER BY n.period_start DESC LIMIT 0, 3Invalid MySQL query

MySQL server has gone away

SELECT DISTINCT n.id, n.title, n.descrip, n.period_start,n.filename, DAY(n.period_start) nday, MONTH(n.period_start) nmonth, YEAR(n.period_start) nyear FROM ch_news n WHERE (n.live = 1 OR n.live = 2) AND n.city = 269 AND cid = 3 AND n.cat_topic = 18 AND n.period_start <= NOW() AND (n.finish_date >= CURDATE() OR n.finish_date is Null) ORDER BY n.period_start DESC LIMIT 0, 3Invalid MySQL query

MySQL server has gone away

SELECT * FROM ch_companies_bid2categories WHERE category_id = 18Invalid MySQL query

MySQL server has gone away

SELECT * FROM fav_companies_categories WHERE city = 269 AND is_show = 1 ORDER BY pos ASCInvalid MySQL query

MySQL server has gone away

SELECT menu.id, menu.menu_name, menu.short_text, menu.short_text2, menu.long_text AS link, cat.cat_id cat_id, cat.name_clean cat_name, cat.url cat_domain, city.domain city_domain, m2c.another_name another_name, m2c.url, m2c.menu_type, m2c.small_text, m2c.small_text_title, m2c.id menu_id FROM ch_menu_new menu LEFT JOIN ch_menu2cats_new m2c ON menu.id = m2c.menu_id LEFT JOIN fav_companies_categories cat ON m2c.cat_id = cat.cat_id LEFT JOIN ch_geo_cities city ON city.city_id = menu.city_id WHERE menu.city_id = 269 ORDER BY menu.pos, m2c.pos ASCInvalid MySQL query

MySQL server has gone away

SELECT name, target_id FROM ch_subdomains WHERE type = 1Invalid MySQL query

MySQL server has gone away

SELECT menu.short_text, menu.short_text2, cat.cat_id cat_id, cat.name_clean cat_name, cat.external_url cat_domain, m2c.another_name another_name, m2c.url FROM ch_menu_new menu INNER JOIN ch_menu2cats_new m2c ON menu.id = m2c.menu_id LEFT JOIN fav_companies_categories cat ON m2c.cat_id = cat.cat_id WHERE menu.id = 1 AND m2c.id = 1Invalid MySQL query

MySQL server has gone away

select concat_ws(' ', m.short_text, m.short_text2) as m_name, c.name_clean as cat_name, c.url, s.name as subdomain from ch_menu_new AS m inner join ch_menu2cats_new AS m2c on m.id = m2c.menu_id inner join fav_companies_categories c on c.cat_id = m2c.cat_id left join ch_subdomains s on c.cat_id = s.target_id and s.type = 1 where city_id = 269 order by m.pos, m2c.pos Рестораны -
Поиск
Найдите рестораны, которые находятся рядом с вами

Рестораны -

Ничего не найдено.
Система Orphus