Find the average and minimum weight for each gender.
CREATE TABLE people (sex VARCHAR, weight INTEGER)
SELECT AVG(weight), MIN(weight), sex FROM people GROUP BY sex
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE people (sex VARCHAR, weight INTEGER) Question: Find the average and minimum weight for each gender. [/INST] SELECT AVG(weight), MIN(weight), sex FROM people GROUP BY sex </s>