Task: Text to Code
Input (English): Find the name of the department that offers the highest total credits?
Output (English): SELECT dept_name FROM course GROUP BY dept_name ORDER BY sum(credits) DESC LIMIT 1