Possible Duplicate:
generate days from date range
Here is my query:
SELECT SUM(number) AS number, c_date
FROM my_table
WHERE c_date between '11/6/2012' AND '11/12/2012'
GROUP BY c_date
ORDER BY c_date DESC
It will return something like this
11 '11/12/2012'
9 '11/9/2012'
10 '11/8/2012'
10 '11/7/2012'
10 '11/6/2012'
Now how can I force the return results to include 11/11 and 11/10 with 0 for the number rather than skipping over them entirely. Also I cannot create a date table to store the dates.