Произошла ошибка: Ошибка в ходе выполнения запроса (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 '-24,24' at line 7) select *, RAND() as RAND_ from MATERIAL as M where M.STATUS=1 and M.ARCHIVE!=1 and M.MATERIAL_ID not in (1) and M.TYPE_ID=1 and CATEGORY_ID=2 order by D_CREATED desc limit -24,24 Произошла ошибка