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 '1237970,1237989,1307990,1237976,1304060,1304294 AND (IDevent=11 || IDevent=13)' at line 11