Find the total credits of courses provided by different department.
CREATE TABLE course (dept_name VARCHAR, credits INTEGER)
SELECT SUM(credits), dept_name FROM course GROUP BY dept_name
### Context: CREATE TABLE course (dept_name VARCHAR, credits INTEGER) ### Question: Find the total credits of courses provided by different department. ### Answer: SELECT SUM(credits), dept_name FROM course GROUP BY dept_name