SELECT e.last_name, e.first_name, d.dept_name FROM employees AS e LEFT JOIN dept_emp AS de ON e.emp_no = de.emp_no LEFT JOIN departments AS d ON de.dept_no = d.dept_no;
use 2 LEFT JOIN
SELECT e.last_name, e.first_name, d.dept_name FROM employees AS e LEFT JOIN dept_emp AS de ON e.emp_no = de.emp_no LEFT JOIN departments AS d ON de.dept_no = d.dept_no;
use 2 LEFT JOIN