hi all
i have a question abd hope some one here give advice
I have a table table1 as below:
my question is :
how is the statement to find sum of amount for each month
//------------------------------
Amount1 Date1
1000 3/1/2010
1100 2/2/2010
1020 4/1/2010
920 12/15/2009
//----------------------------------
tq
denny
Sql statement question
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Mar 12, 2010, 4:27 PM EST
select month(Date1),Sum(Amount) from table1 group by month(Date1);