Context: CREATE TABLE student (dept_name VARCHAR)
Question: Find the total number of students in each department.
Answer: SELECT COUNT(*), dept_name FROM student GROUP BY dept_name