SELECT s.emp_no, s.salary, s.from_date, s.to_date, d.dept_no
FROM salaries AS s, dept_manager AS d
WHERE s.emp_no = d.emp_no
SELECT s.emp_no, s.salary, s.from_date, s.to_date, d.dept_no
FROM salaries AS s, dept_manager AS d
WHERE s.emp_no = d.emp_no