Database: hospital_1
Question: What are the names of departments that have primarily affiliated (primary affiliaion is 1) physicians.
SQL: select distinct t2.name from affiliated_with as t1 join department as t2 on t1.department = t2.departmentid where primaryaffiliation  =  1