窗口函数,只用一张表select Distinct emp_no, last-first as growthfrom( select emp_no, first_value(salary) over (partition by emp_no order by to_date) as first,last_value(salary) over (partition by emp_no order by to_date RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) as lastfrom salarieswhere emp_n...