How many departments offer courses?
CREATE TABLE course (dept_name VARCHAR)
SELECT COUNT(DISTINCT dept_name) FROM course
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE course (dept_name VARCHAR) Question: How many departments offer courses? [/INST] SELECT COUNT(DISTINCT dept_name) FROM course </s>