Task: Text to Code
Input (English): Step 1: For each row in Departments table, find the corresponding rows in Degree_Programs table.
Step 2: for each value of Degree_Programs's department_id in the results of step 1, calculate number of rows.
Step 3: show each value of Degree_Programs's department_id in the results of step 1 along with the number of rows with largest value in the results of step 2
Output (English): SELECT T1.department_name , Count ( * ) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id GROUP BY T2.department_id ORDER BY Count ( * ) Desc LIMIT 1