I need to pull the result set with sum of the previous record and current record.
Logic
My table is having one key column C1 and a numeric colum
select c1, c2, sum(c2) over (order by c2) c3 from table_name