Find the name of all departments.
select distinct department_name from departments
What about those that have at least one employee.
select distinct department_name from employees as t1 join departments as t2 on t1.department_id = t2.department_id