Task: Text to Code
Input (English): Step 1: For each row in Campuses table, find corresponding rows in degrees table and in faculty table.
Step 2: find the average Degrees of each value of degrees's Campus in the results of step 1.
Step 3: find faculty's Campus of the results of step 1 with largest value in the results of step 2
Output (English): 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 T2.Campus ORDER BY Avg ( T2.Degrees ) Desc LIMIT 1