mysql syntax error. [ SELECT c.*, (select host from host where host.id = c.host_id) as host, ci.sep FROM comment c left outer join comicimage ci on ci.comicid = c.comicid and ci.iorder = c.story WHERE c.comicid = 17417 /*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 15]