Show the name and country for all people whose age is smaller than the average.
CREATE TABLE people (name VARCHAR, country VARCHAR, age INTEGER)
SELECT name, country FROM people WHERE age < (SELECT AVG(age) FROM people)
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE people (name VARCHAR, country VARCHAR, age INTEGER) Question: Show the name and country for all people whose age is smaller than the average. [/INST] SELECT name, country FROM people WHERE age < (SELECT AVG(age) FROM people) </s>