By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
11 rows affected
| time_stamp | quantity | difference |
|---|---|---|
| 2020-01-14 | 400 | 400 |
| 2020-01-15 | 750 | 350 |
| 2020-01-16 | 1550 | 800 |
| 2020-01-17 | 2630 | 1080 |
11 rows affected
| time_stamp | quantity | difference |
|---|---|---|
| 2020-01-14 | 400 | 400 |
| 2020-01-15 | 750 | 350 |
| 2020-01-16 | 1550 | 800 |
| 2020-01-17 | 2630 | 1080 |