CREATE TABLE table_name_5 (gold INT, nation VARCHAR, rank VARCHAR)

How many gold medals on average were earned by Italy when they held the rank of 4?
SELECT AVG(gold) FROM table_name_5 WHERE nation = "italy" AND rank > 4
SELECT AVG("gold") FROM "table_name_5" WHERE "italy" = "nation" AND "rank" > 4