I have been trying all night to make it work, but it doesn't. When I give the date ranges for adate
as 2014-03-12 it even shows me the data of previous dates. What am I missing here?
SELECT tno, type, ccno, paidamt, aby, adate, atime
FROM payment
WHERE
adate<='2014-03-12'
AND adate<='2014-03-12'
AND aby='anuradha'
AND type='ADD' OR type='REM'
AND delstat='0'