Question: List the name of physicians who took some appointment.
Schema: create table appointment (physician varchar, PRIMARY KEY (physician)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))
SQL: select t2.name from appointment as t1 join physician as t2 on t1.physician = t2.employeeid