What is the average Total with a Gold that is larger than 4?
CREATE TABLE table_name_77 (total INTEGER, gold INTEGER)
SELECT AVG(total) FROM table_name_77 WHERE gold > 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (total INTEGER, gold INTEGER) Question: What is the average Total with a Gold that is larger than 4? [/INST] SELECT AVG(total) FROM table_name_77 WHERE gold > 4 </s>