Database error: Invalid SQL: SELECT make.title_lv as car_make, c.id as car_id, c.price, c.year, c.model, c.engine, c.mileage, at.trans_lv as transmission, ac.color_lv as color, af.fuel_lv as fuel FROM cars c LEFT JOIN saturs make ON make.id = c.make LEFT JOIN auto_trans at ON at.id = c.transmission LEFT JOIN auto_color ac ON ac.id = c.color LEFT JOIN auto_fuel af ON af.id = c.fuel WHERE c.root = AND c.sale = '0'
MySQL error: 1064 (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 c.sale = '0'' at line 19) Session halted.