Reputation: 1
Date - Amount
12-nov-2016 200
12-nov-2016 100
13- nov -2016 400
13 -nov-2016 200
result show like-
Date Amount
12- nov-2016 300
13- nov-2016 600
as whole month
Upvotes: 0
Views: 34
Reputation: 63065
select [Date], sum(Amount) as Amount from yourTable group by [Date]
Upvotes: 1