Question: How many teachers does the student named MADLOCK RAY have?
Schema: create table teachers (classroom varchar, PRIMARY KEY (classroom)); create table list (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))
SQL: select count(*) from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t1.firstname = "madlock" and t1.lastname = "ray"