Database: network_1_total_1
Question: Show the names of students who have a grade higher than 5 and have at least 2 friends.
SQL: select t1.name from friend_highschooler as t1 where t1.grade > 5 group by t1.student_id having count ( * ) >= 2