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 arr = and week = and get_date >= '2019-08-23 00:13:05'' at line 1