Question: Show the names of high schoolers who have at least 3 friends.
Schema: create table highschooler (name varchar, id varchar, PRIMARY KEY (name)); create table friend (student_id varchar, PRIMARY KEY (student_id))
SQL: select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id having count(*) >= 3