There is a problem with the database

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 '..LESS $400 IF GOOD CORE IS RETURNED', 1, 5),'%') and category = 195 and id <...' at line 1SELECT * from products WHERE name LIKE CONCAT(SUBSTR('17/106300R REMAN FUEL INJ PUMP'..LESS $400 IF GOOD CORE IS RETURNED', 1, 5),'%') and category = 195 and id <> 1012160 ORDER BY RAND() limit 3;