Find the total number of students in each department.
CREATE TABLE student (dept_name VARCHAR)
SELECT COUNT(*), dept_name FROM student GROUP BY dept_name
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE student (dept_name VARCHAR) Question: Find the total number of students in each department. [/INST] SELECT COUNT(*), dept_name FROM student GROUP BY dept_name </s>