What is the average number of gold medals when the total was 1335 medals, with more than 469 bronzes and more than 14 silvers?
CREATE TABLE table_name_89 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT AVG(gold) FROM table_name_89 WHERE silver > 14 AND total = 1335 AND bronze > 469
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR) Question: What is the average number of gold medals when the total was 1335 medals, with more than 469 bronzes and more than 14 silvers? [/INST] SELECT AVG(gold) FROM table_name_89 WHERE silver > 14 AND total = 1335 AND bronze > 469 </s>