Question: What is the name of the nurse has the most appointments?
Schema: create table nurse (name varchar, employeeid varchar, PRIMARY KEY (name)); create table appointment (prepnurse varchar, PRIMARY KEY (prepnurse))
SQL: select t1.name from nurse as t1 join appointment as t2 on t1.employeeid = t2.prepnurse group by t1.employeeid order by count(*) desc limit 1