Show the average age for male and female students.
CREATE TABLE Student (sex VARCHAR, age INTEGER)
SELECT AVG(age), sex FROM Student GROUP BY sex
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Student (sex VARCHAR, age INTEGER) Question: Show the average age for male and female students. [/INST] SELECT AVG(age), sex FROM Student GROUP BY sex </s>