Question: How many patients do each physician take care of? List their names and number of patients they take care of.
Schema: create table patient (pcp varchar, PRIMARY KEY (pcp)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))
SQL: select t1.name, count(*) from physician as t1 join patient as t2 on t1.employeeid = t2.pcp group by t1.employeeid