Task: Text to Code
Input (English): Step 1: For each row in department table, find the corresponding rows in student table.
Step 2: find the summation of budget of each value of student's dept_name in the results of step 1.
Step 3: find student's dept_name of step 1 results with largest value in the results of step 2
Output (English): SELECT T2.dept_name FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name GROUP BY T2.dept_name ORDER BY Sum ( T1.budget ) Desc LIMIT 1