mysql syntax error. [ SELECT c.*, ci.sep FROM comment c left outer join comicimage ci on ci.comicid = c.comicid and ci.iorder = c.story WHERE c.comicid = 17237 /*AND c.state <= 1*/ ORDER BY c.datetime DESC LIMIT 50 OFFSET -50 ][1064: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 '-50' at line 14]