Мероприятия

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 (392, 585, 587, 582, 583, 578, 568, 563, 553, 544, 540, 535, 529, 513, 500, 485, 477, 437) AND `flag` = 1 AND `nav_id` IN (392, 585, 587, 582, 583, 578, 568, 563, 553, 544, 540, 535, 529, 513, 500, 485, 477, 437) ORDER BY `date` DESC LIMIT -15, 15