Question: Find the total number of hours have done for all students in each department.
SQL: SELECT SUM(stu_hrs), dept_code FROM student GROUP BY dept_code