Find the total number of hours have done for all students in each department.
select sum(stu_hrs), dept_code from student group by dept_code