SELECT * FROM `thebigwaf01`.`movies` WHERE CATEGORY LIKE '%Documentary%' AND (ORIGINALTITLE LIKE '%Ray Charles%' OR TRANSLATEDTITLE LIKE '%Ray Charles%' OR DIRECTOR LIKE '%Ray Charles%' OR PRODUCER LIKE '%Ray Charles%' OR ACTORS LIKE '%Ray Charles%' OR DESCRIPTION LIKE '%Ray Charles%' OR VIDEOFORMAT LIKE '%Ray Charles%' OR FRAMERATE LIKE '%Ray Charles%' OR FILESIZE LIKE '%Ray Charles%' OR AUDIOFORMAT LIKE '%Ray Charles%' OR DATEADD LIKE '%Ray Charles%' OR MEDIA LIKE '%Ray Charles%' OR RESOLUTION LIKE '%Ray Charles%' OR LENGTH LIKE '%Ray Charles%' OR LANGUAGES LIKE '%Ray Charles%' OR SUBTITLES LIKE '%Ray Charles%' OR MEDIATYPE LIKE '%Ray Charles%') ORDER BY DATEADD DESC, ORIGINALTITLE ASC LIMIT -24,24

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 '-24,24' at line 1