What is the total credit does each department offer?
CREATE TABLE course (dept_code VARCHAR, crs_credit INTEGER)
SELECT SUM(crs_credit), dept_code FROM course GROUP BY dept_code
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE course (dept_code VARCHAR, crs_credit INTEGER) Question: What is the total credit does each department offer? [/INST] SELECT SUM(crs_credit), dept_code FROM course GROUP BY dept_code </s>