How many classes are held in each department?
SELECT count(*) ,  dept_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code  =  T2.crs_code GROUP BY dept_code
count of classes in each department refers to COUNT(*) GROUP BY dept_code; classes are associated with departments through course codes in a join between CLASS and course tables;