How many total credits are offered by each department?
SELECT sum(credits) ,  dept_name FROM course GROUP BY dept_name
total credits offered by each department refers to SUM(credits); credits = credits; by each department refers to GROUP BY dept_name;