By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
8 rows affected
8 rows affected
Col1 | Current Sum | Previous Sum | Difference |
---|---|---|---|
ItemA | 35801 | 35811 | 10 |
ItemB | 34567 | 34572 | 5 |
ItemC | 102467 | 102477 | 10 |
ItemD | 67890 | 67905 | 15 |
ItemE | 167913 | 167943 | 30 |
Warning: Null value is eliminated by an aggregate or other SET operation.