Find the total number of hours have done for all students in each department.
return departments ;return students of #1 ;return hours that  #2 have done ;return number of  #3 for each #2 ;return sum of #4 for each #1
['select', 'project', 'project', 'group', 'group']