MYSQL:
select de.dept_no,e.emp_no,s.salary from employees e join dept_emp de on e.emp_no=de.emp_no join salaries s on e.emp_no=s.emp_no where e.emp_no not IN (select emp_no from dept_manager);