By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
6 rows affected
EmployeeID | SaleDate | SaleAmount |
---|---|---|
1 | 2022-06-01 | 10 |
1 | 2022-06-02 | 20 |
1 | 2022-06-03 | 30 |
2 | 2022-06-01 | 10 |
2 | 2022-06-02 | 10 |
2 | 2022-06-03 | 10 |
EmployeeID | SaleDate | SaleAmount | RunningTotal |
---|---|---|---|
1 | 2022-06-01 | 10 | 10 |
1 | 2022-06-02 | 20 | 30 |
1 | 2022-06-03 | 30 | 60 |
2 | 2022-06-01 | 10 | 10 |
2 | 2022-06-02 | 10 | 20 |
2 | 2022-06-03 | 10 | 30 |