Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Cummulative SUM

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-11-05 : 00:21:52
Aristo writes "How can I calculate the cummulative sum on a result set.
For example:
CUSTOMER_ID REVENUES REVENUES1
=================================
1 10.00 10.00
2 5.00 15.00
3 3.01 18.01
4 1.00 19.01
...
etc


Thanks."
   

- Advertisement -