find the name of all departments that do actually have one or more employees assigned to them.
create table departments (department_name varchar, department_id varchar, PRIMARY KEY (department_name)); create table employees (department_id varchar, PRIMARY KEY (department_id))
select distinct t2.department_name from employees as t1 join departments as t2 on t1.department_id = t2.department_id