select e.last_name, e.first_name, d.dept_nofrom employees as e inner join dept_emp as don e.emp_no = d.emp_no