princy 44792
Newbie
Points: 1
More actions
August 9, 2010 at 12:08 am
#97324
I am having a table column like
Amount
5000
7500
2560
I need the total of the above column is like
Total -15060
Please help me to do it in sql
Kingston Dhasian
SSCoach
Points: 19799
August 9, 2010 at 12:53 am
#1203999
This is too trivial to help you out with the actual code. Is this a home work question? Have a look at the SUM() function in Books Online. Get back to us with the code you tried if you have any problems.
How to post data/code on a forum to get the best help - Jeff Modenhttp://www.sqlservercentral.com/articles/Best+Practices/61537/
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply