Table schema:
CREATE TABLE student (dept_code VARCHAR)

Question: Find the number of students for each department.
SQL: SELECT COUNT(*), dept_code FROM student GROUP BY dept_code