what is the average number of gold when the rank is more than 5?
CREATE TABLE table_name_5 (gold INTEGER, rank INTEGER)
SELECT AVG(gold) FROM table_name_5 WHERE rank > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (gold INTEGER, rank INTEGER) Question: what is the average number of gold when the rank is more than 5? [/INST] SELECT AVG(gold) FROM table_name_5 WHERE rank > 5 </s>