select last_name, first_name, t1.dept_no from dept_emp t1 left join employees t2 on t1.emp_no = t2.emp_no where to_date = '9999-01-01'