Show me the name of all teachers in record.
select firstname, lastname from teachers
Which classrooms does TARRING LEIA teach in?
select classroom from teachers where firstname = "TARRING" and lastname = "LEIA"
How many students study in those classrooms?
select count(*) from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t2.firstname = "TARRING" and t2.lastname = "LEIA"