Question: Find the last names of all the teachers that teach GELL TAMI.
Schema: create table teachers (lastname varchar, classroom varchar, PRIMARY KEY (lastname)); create table list (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))
SQL: select t2.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t1.firstname = "gell" and t1.lastname = "tami"