Hello Everyone,
I've a small requirement; Actually I've a table which has three column name such as ID, Product_Name and Product_Quantity, these columns contains value like:
ID Product_Name Product_Quantity
1 Parle G 10
2 Hair Oil 20
3 Soap 30
4 Shampoo 49
In this table I want to add another column name like Product_CumulativeValue which contains cumulative value of Product_Quantity column, so can you tell me how to find out the cumulative value of Product_Quantity column.
Please resolve my problem as soon as possible.
Thanks in advance!
How to get Cumulative frequency in SQL Server
Ask by Anonymous User
Updated 15 May 2026
Hurrah!!! This code resolve my problem. Thank you very much Avadhesh. Keep it up.