Question: Find the last names of the teachers that teach fifth grade.
Schema: create table list (classroom varchar, PRIMARY KEY (classroom)); create table teachers (lastname varchar, classroom varchar, PRIMARY KEY (lastname))
SQL: select distinct t2.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where grade = 5