Find the name of the department which has the highest average salary of professors.
CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER)
SELECT TOP 1 dept_name FROM instructor GROUP BY dept_name ORDER BY AVG(salary) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER) Question: Find the name of the department which has the highest average salary of professors. [/INST] SELECT TOP 1 dept_name FROM instructor GROUP BY dept_name ORDER BY AVG(salary) DESC </s>