I wanted to calculate the data of a bad table as follows
I have a price column
100 140 300 200
I wanted to generate a second column that would make a consecutive sum of the previous table
100 240 540 740
I was able to do with Python one more logic I do not know how to do in SQL