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