CREATE TABLE student (dept_code VARCHAR(255), stu_hrs INTEGER)
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