Show the average, minimum, and maximum age for different majors.
CREATE TABLE Student (major VARCHAR, age INTEGER)
SELECT major, AVG(age), MIN(age), MAX(age) FROM Student GROUP BY major
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Student (major VARCHAR, age INTEGER) Question: Show the average, minimum, and maximum age for different majors. [/INST] SELECT major, AVG(age), MIN(age), MAX(age) FROM Student GROUP BY major </s>