Invalid query: 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 aa_startdate ='2024-11-29' AND (aa_starttime BETWEEN '' AND '') AND (aa_retu' at line 1