Database: hospital_1
Question: What are the name and primarily affiliated (the value of primary affiliation is equal to 1) department name of each physician?
SQL: select t1.name ,  t3.name from physician as t1 join affiliated_with as t2 on t1.employeeid  =  t2.physician join department as t3 on t2.department  =  t3.departmentid where t2.primaryaffiliation  =  1