1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and week = and get_date >= '2019-08-23 00:15:02'' at line 1