Database: college_2
Question: Find the total credits of courses provided by different department.
SQL: select sum(credits) ,  dept_name from course group by dept_name