SELECT * FROM options limit 1
SELECT * FROM modules
SELECT * FROM `services` WHERE `url`='montazh_otopleniya' and `type_text`=0 limit 1
SELECT * FROM `catalog_cat` WHERE `url`='montazh_otopleniya' and parent=0 limit 1
SELECT * FROM `sales` WHERE `url`='montazh_otopleniya' limit 1
SELECT * FROM `services` WHERE `url`='otdelochnie_raboty' limit 1
SELECT * FROM `services` WHERE `id`= and `type_text`=0 limit 1
Errormessage: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and `type_text`=0 limit 1' at line 1