Which major has the most students?
CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR)
SELECT TOP 1 Major FROM STUDENT GROUP BY major ORDER BY COUNT(*) DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR) Question: Which major has the most students? [/INST] SELECT TOP 1 Major FROM STUDENT GROUP BY major ORDER BY COUNT(*) DESC </s>