Which Gold has a Bronze of 1, and a Total smaller than 3?
CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT AVG(gold) FROM table_name_21 WHERE bronze = 1 AND total < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, total VARCHAR) Question: Which Gold has a Bronze of 1, and a Total smaller than 3? [/INST] SELECT AVG(gold) FROM table_name_21 WHERE bronze = 1 AND total < 3 </s>