how can I select a list of dates in MySQL so even if there are no results for a specific date the date itself will appear?
I want something like:
select every_date,count(*) from my_table group by date,order by date;
that will generate:
20160110 5
20160109 0
20160108 7
20160107 1