Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE Friend (student_id VARCHAR)
TABLE: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR, grade INTEGER)

### Question ###
Show the names of students who have a grade higher than 5 and have at least 2 friends.

### Accurate 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