SAFF Women's Championship 2019

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 (game.game_date>='2019-08-22' OR game.game_date IS NULL) order by case when ' at line 1