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-05-27 09:52:58'' at line 1