Error: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 fld_status='1' and fld_advdays <= datediff('2019-01-19','2019-01-16') orde' at line 1