Database: network_1
Question: What are the names of high schoolers who have a grade of over 5 and have 2 or more friends?
SQL:
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id  =  T2.id WHERE T2.grade  >  5 GROUP BY T1.student_id HAVING count(*)  >=  2