SELECT count(*) ,  dept_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code  =  T2.crs_code GROUP BY dept_code
Find the number of classes 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
select count ( * ) , dept_code from class as t1 join course as t2 on t1 . crs_code = t2 . crs_code group by dept_code
Find the number of classes in each department .