Dotaz:
SELECT SQL_CALC_FOUND_ROWS A.id, AL.name, AL.uri, AL.content, A.date_start, A.type_id
FROM articles_lang AL
INNER JOIN articles A ON A.id = AL.article_id
WHERE A.type_id = '2' AND AL.shop_id = '2' AND A.active = 1 AND A.date_start <= NOW()
ORDER BY A.date_start DESC, id DESC
LIMIT -24, 12
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 '-24, 12' at line 6