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%' AND car.id != "12296" 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%' AND car.id != "12296" AND man_id = car_man.id AND m...' at line 11