By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
9 rows affected
9 rows affected
| FiscalYear | OrderDate | OrderNumber | SubTotal | RunningTotal |
|---|---|---|---|---|
| 2011 | 31/05/2011 00:00:00 | 1 | 5000.02 | 5000.02 |
| 2011 | 31/05/2011 00:00:00 | 2 | 1000.15 | 6000.17 |
| 2011 | 31/05/2011 00:00:00 | 3 | 700.25 | 6700.42 |
| 2011 | 31/05/2011 00:00:00 | 4 | 225.02 | 6925.44 |
| 2011 | 31/05/2011 00:00:00 | 5 | 1258.25 | 8183.69 |
| 2011 | 31/05/2011 00:00:00 | 6 | 1000.00 | 9183.69 |
| 2011 | 31/05/2011 00:00:00 | 7 | 695.20 | 9878.89 |
| 2011 | 31/05/2011 00:00:00 | 8 | 789.25 | 10668.14 |
| 2011 | 31/05/2011 00:00:00 | 9 | 2125.02 | 12793.16 |