Question: How many friends does the high school student Kyle have?
Schema: create table friend (student_id varchar, PRIMARY KEY (student_id)); create table highschooler (id varchar, name varchar, PRIMARY KEY (id))
SQL: select count(*) from friend as t1 join highschooler as t2 on t1.student_id = t2.id where t2.name = "kyle"