How do I use the SQL "SUM" function and group by the month of a date field?
This is what I'm trying to do. The "Date.Month" (I know it's wrong) is the problem.
SELECT Date,SUM(Amount) as decTotalAmount FROM Transactions GROUP BY Date.Month
It should give me the total of transactions for each month.
Thanks.