Database: college_1
Question: How many hours do the students spend studying in each department?
SQL:
SELECT sum(stu_hrs) ,  dept_code FROM student GROUP BY dept_code