SELECT count(*) ,  dept_code FROM student GROUP BY dept_code
How many students are in each department?
SELECT count ( * ) , dept_code FROM student GROUP BY dept_code
select count ( * ) , dept_code from student group by dept_code
How many students are in each department ?