SELECT car.*, car_man.name AS man_name, currency.name AS currency_name FROM car, car_man, currency WHERE currency_id = currency.id AND model LIKE '%Cee'd III%' AND car.id != "22987" AND man_id = car_man.id AND man_id = "53" AND condition_id = 1 ORDER BY datetime DESC LIMIT 20
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'd III%' AND car.id != "22987" AND man_id = car_man.id AND ...' at line 11