9.获取所有部门当前manager的当前薪水情况,给出dept_no, emp_no以及salary
题目内容:
代码及思路:
SELECT dept_manager.dept_no,dept_manager.emp_no,salaries.salary
FROM dept_manager INNER JOIN salaries
ON dept_manager.emp_no=salaries.emp_no
WHERE dept_manager.to_date='9999-01-01'
AND salaries.to_date='9999-01-01'