Task: Text to Code
Input (English): Step 1: For each row in Highschooler table, find the corresponding rows in Friend table.
Step 2: for each value of student_id in the results of step 1, find the number of rows along with name and grade
Output (English): SELECT T1.name , T1.grade , Count ( * ) FROM Highschooler AS T1 JOIN Friend AS T2 ON T1.ID = T2.student_id GROUP BY T2.student_id