ERROR From DB mySQL

DB Error: Database query failed!
» Error No: 1064
» Error detail: 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 '-18,18' at line 1
» Query: SELECT * FROM `n_resource` WHERE status=1 AND aid = '39' ORDER BY `id` ASC LIMIT -18,18 Le Conseil Sacerdotal du Caodaisme