思路:窗口函数累计求和selectemp_no,salary,sum(salary)over(order by emp_no) running_totalfrom salarieswhere to_date = '9999-01-01'