What is the average number of gold medals the netherlands got when they had more than 4 bronze medals?
CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(gold) FROM table_name_47 WHERE nation = "netherlands" AND bronze > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the average number of gold medals the netherlands got when they had more than 4 bronze medals? [/INST] SELECT AVG(gold) FROM table_name_47 WHERE nation = "netherlands" AND bronze > 4 </s>