SQL : group results only by date and not date time
select trunc(DATE_ADDED),count(*) from RESULTS
where MERCHANT_ID='test123'
group by trunc(DATE_ADDED);
select trunc(DATE_ADDED),count(*) from RESULTS
where MERCHANT_ID='test123'
group by trunc(DATE_ADDED);