SELECT * FROM `mrlafiadb01`.`movies` WHERE CATEGORY LIKE '%Thriller%' AND (ORIGINALTITLE LIKE '%Ian Ray%' OR TRANSLATEDTITLE LIKE '%Ian Ray%' OR ACTORS LIKE '%Ian Ray%' OR DIRECTOR LIKE '%Ian Ray%' OR PRODUCER LIKE '%Ian Ray%') ORDER BY DATEADD DESC, ORIGINALTITLE LIMIT -40,40

Invalid Query: 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 '-40,40' at line 1