Get Cumulative Sum

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Select name,salary, sum(salary) over (

order by salary ROWS UNBOUNDED PRECEDING)


from (
select top 10 name,salary from employee_test ) ref

You might also like