I need to develop a SQL query that does the following:
Column A Column B
Row1 2861682 sum(Row1 to Row5)
Row2 2522226 sum(Row2 to Row5)
Row3 2285983 sum(Row3 to Row5)
Row4 2096046 sum(Row4 to Row5)
Row5 1935355 sum(Row5)
This is the data I have in a table column.
Now I need to calculate
sum(Row1 to Row5)
sum(Row2 to Row5)
sum(Row3 to Row5)
sum(Row4 to Row5)
sum(Row5)
Thanks