CREATE TABLE table_name_12 (total INT, gold INT)

What is the average Total, when Gold is less than 0?
SELECT AVG(total) FROM table_name_12 WHERE gold < 0
SELECT AVG("total") FROM "table_name_12" WHERE "gold" < 0