What is the average Gold when the rank is less than 3 and the bronze is less than 1?
CREATE TABLE table_name_79 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT AVG(gold) FROM table_name_79 WHERE rank < 3 AND bronze < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (gold INTEGER, rank VARCHAR, bronze VARCHAR) Question: What is the average Gold when the rank is less than 3 and the bronze is less than 1? [/INST] SELECT AVG(gold) FROM table_name_79 WHERE rank < 3 AND bronze < 1 </s>