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 'and date(article_date) BETWEEN '2025-01-24' AND '2026-01-24'
order by art...' at line 10
[?] Ocurrio un error al hacer la consulta