Dotaz:
SELECT SQL_CALC_FOUND_ROWS PL.name, PL.uri, PL.content, P.date, P.id, P.data
FROM page P
LEFT JOIN page_lang PL ON PL.page_id = P.id
WHERE PL.lang_id = 1 AND P.category_id = 381 AND PL.active = 1 AND date <= NOW() AND (data = '' OR data = '[]')
ORDER BY date DESC, id DESC
LIMIT -102, 6
Chyba: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-102, 6' at line 6