RowId
Amount
1
100
2
200
3
300
4
4000
Then you can get cumulative sum from the following query:
Select Rowid, amount , ( select max(amount ) + amount from table where table.rowid < t1.rowid) as cumulativesum
From table t1
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: