I have the following table Sales:
year total_sale
2015 23000
2016 25000
2017 34000
2018 32000
2019 33000
This has to be the result
year 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