Произошла ошибка: Ошибка в ходе выполнения запроса (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 '-4,4' at line 1) select A.*, LENGTH(X.XML) as TEXTLENGTH from ARTICLE as A left join XMLS as X on X.TYPE=8 and X.XMLS_ID=A.ARTICLE_ID where A.STATUS=1 order by DATA desc limit -4,4