Документы

Error Number: 1064

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

SELECT * FROM (`rpn_enote_news`) WHERE `nav_id` IN (369, 350, 351, 353, 354, 475, 352, 413, 355, 433, 431, 474, 472) AND `flag` = 1 AND `nav_id` IN (369, 350, 351, 353, 354, 475, 352, 413, 355, 433, 431, 474, 472) ORDER BY `date` DESC LIMIT -15, 15