CREATE TABLE table_name_77 (total INT, gold INT)

What is the average Total with a Gold that is larger than 4?
SELECT AVG(total) FROM table_name_77 WHERE gold > 4
SELECT AVG("total") FROM "table_name_77" WHERE "gold" > 4