ค้นหานามสกุลของครูทุกคนที่สอน GELL TAMI ไม่จำเป็นต้องใช้ตารางทั้งหมด
Find the last names of all the teachers that teach GELL TAMI.It is not neccessary to use all the tables.
 teachers:  (lastname [ VARCHAR ] classroom [ VARCHAR) ]
SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "GELL" AND T1.lastname = "TAMI"