By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
| YEAR_1 | CURRENT_TOTAL_SALE | PREVIOUS_TOTAL_SALE | DIFFERENCE |
|---|---|---|---|
| 2015 | 23000 | null | null |
| 2016 | 25000 | 23000 | 2000 |
| 2017 | 34000 | 25000 | 9000 |
| 2018 | 32000 | 34000 | -2000 |
| 2019 | 33000 | 32000 | 1000 |