Task: Text to Code
Input (English): SQL: SELECT name FROM Highschooler WHERE grade > 2 INTERSECT SELECT name FROM Highschooler WHERE grade < 5
Feedback: Exchange " 2" with " 5" , grade with Friend's student id greater than or equals 2 in step 2.
Output (English): 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