SELECT e.last_name,e.first_name,de.dept_no FROM employees e INNER JOIN dept_emp de on e.emp_no=de.emp_no;