I have the following need
I have a logging table which logs som leads generated each day.
Now I need to pull a report over the amount of leads for each day over
You can use:
Select count(created_date) as counted_leads, created_date as count_date from table group by created_date