SQL ERROR! 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 'where news_id in (select nd_id from news_diia) and `news_date`<'2021-01-24 2...' at line 1