millseyno1
12-16-2009, 01:37 AM
I have a query that collects data from a table and groups by the date on file (dofMonth)
SELECT DOFMonth, COUNT(*), SUM(Value) FROM table1 GROUP BY DOFMonth
Unfortunatly if there are no entries for a particual month the month is not shown at all. Is there a way I can show months even if they have no date on files with just 0 values.
Thanks,
SELECT DOFMonth, COUNT(*), SUM(Value) FROM table1 GROUP BY DOFMonth
Unfortunatly if there are no entries for a particual month the month is not shown at all. Is there a way I can show months even if they have no date on files with just 0 values.
Thanks,