Произошла ошибка: Ошибка в ходе выполнения запроса (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 4) select N.*, LENGTH(X.XML) as TEXTLENGTH from NEWS as N left join XMLS as X on X.TYPE=6 and X.XMLS_ID=N.NEWS_ID where N.STATUS=1 ORDER BY N.DATA DESC limit -4,4