Find missing date and add them into result - MySql
问题 I have a query that looks like this: SELECT count(*) ,date_format(created, '%d/%m/%y ') as datecreated FROM mimesi_indexer.meta_served_clips GROUP BY DATE(created) ORDER BY created ASC The problem is that some dates are missing in the database. I need to have those dates into the results showing the date's count as 0 and the date itself. How can I do it please? Thanks EDIT: count(*) is in the left column created is the right one a) data: 2610, 11/04/17 1332, 12/04/17 2082, 26/04/17 3584, 27