I trying to get the Grape count from dates March 1 – 3.

You will notice that on March 2 – there are no grapes inserted..
I’st possible to show a query from dates March 1, 2 and 3 but showing 0 count for March 2

In this image above only shows dates where there are grapes..
Here is mySQL query
SELECT `fruitDate` , `fruitName` , COUNT( * )
FROM `tbl_fruits`
WHERE `fruitName` = "Grapes"
GROUP BY `fruitDate
UPDATE 2:
Using this query:
SELECT f.fruitDate, f.fruitName, f1.count FROM tbl_fruits f
LEFT JOIN (SELECT fruitDate, COUNT(*) as count from tbl_fruits d WHERE d.fruitName='Grapes' GROUP BY d.fruitDate) as f1 ON (f.fruitDate = f1.fruitDate)
GROUP BY f.fruitDate
I got this result..but its dsplaying diffrent fruit..something wrong with my query?

Remember there is a dynamically (and a bit ugly) solution to creating a date range that does not require creating a table:
Depending on the length of the date range you can reduce the amount of dynamically generated results (10000 days means over 27 years of records each representing one day) by removing tables (d, c, b and a) and removing them from the upper formula. Setting the
@minDateand@maxDatevariables will allow you to specify the dates between you want to filter the results.Edit:
I see you’re still looking for a solution. Try this:
If you also want to filter the extra dates from the created table, use this query: