可以直接使用WHERE限定语句SELECT d.dept_no, d.emp_no, s.salaryFROM dept_manager AS d, salaries AS sWHERE d.emp_no = s.emp_noAND d.to_date = s.to_dateAND d.to_date = '9999-01-01' 也可以使用 INNER JOINSELECT d.dept_no, d.emp_no, s.salaryFROM dept_manager AS d INNER JOIN salaries as sON d.emp_no = s.emp_noAND d.to_da...