不使用employees表的方法: select s.emp_no,sum(T1.ms-T2.sa) as growth from salaries s left join (select emp_no,salary as ms from salaries where to_date = '9999-01-01' group by emp_no) T1 --求出当前在职人员工资 on T1.emp_no = s.emp_no left join (select emp_no,salary ...