Task: Text to Code
Input (English): SQL: SELECT dept_name FROM student GROUP BY dept_name ORDER BY Sum ( tot_cred ) Desc LIMIT 1
Feedback: only use course table and replace total credits with credits
Output (English): SELECT dept_name FROM course GROUP BY dept_name ORDER BY sum(credits) DESC LIMIT 1