Find the names of the top 3 departments that provide the largest amount of courses?
CREATE TABLE course (dept_name VARCHAR)
SELECT TOP 3 dept_name FROM course GROUP BY dept_name ORDER BY COUNT(*) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE course (dept_name VARCHAR) Question: Find the names of the top 3 departments that provide the largest amount of courses? [/INST] SELECT TOP 3 dept_name FROM course GROUP BY dept_name ORDER BY COUNT(*) DESC </s>