CREATE TABLE table_name_45 (gold INT, total INT)

What is the average amount of gold medals for a country with more than 12 total medals?
SELECT AVG(gold) FROM table_name_45 WHERE total > 12
SELECT AVG("gold") FROM "table_name_45" WHERE "total" > 12