Task: Text to Code
Input (English): SQL: SELECT T3.Campus FROM Campuses AS T1 JOIN degrees AS T2 ON T2.Campus = T1.Id JOIN faculty AS T3 ON T1.Id = T3.Campus GROUP BY T3.Campus ORDER BY Avg ( T2.Degrees ) Desc LIMIT 1
Feedback: In step 2, you need to determine the value of degrees of campuses from the result of step 1.
Output (English): SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1