Unable to run 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 a.status!=5 and a.send_date between '2010-03-10' and '2010-03-25'' at line 1