Question: Find the ids and first names of the 3 teachers that have the most number of assessment notes?
Schema: create table assessment_notes (teacher_id varchar, PRIMARY KEY (teacher_id)); create table teachers (first_name varchar, teacher_id varchar, PRIMARY KEY (first_name))
SQL: select t1.teacher_id, t2.first_name from assessment_notes as t1 join teachers as t2 on t1.teacher_id = t2.teacher_id group by t1.teacher_id order by count(*) desc limit 3