SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom  =  T2.classroom WHERE T1.firstname  =  "GELL" AND T1.lastname  =  "TAMI"
What are the last names of the teachers who teach the student called GELL TAMI?
SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = `` GELL '' AND T1.lastname = `` TAMI ''
select t2 . lastname from list as t1 join teachers as t2 on t1 . classroom = t2 . classroom where t1 . firstname = value and t1 . lastname = value
What are the last names of the teachers who teach the student called GELL TAMI ?