How many different instructors have taught some course?
CREATE TABLE teaches (id VARCHAR)
SELECT COUNT(DISTINCT id) FROM teaches
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE teaches (id VARCHAR) Question: How many different instructors have taught some course? [/INST] SELECT COUNT(DISTINCT id) FROM teaches </s>