CREATE TABLE table_name_27 (total INT, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR)

Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, and a Rank of 13?
SELECT AVG(total) FROM table_name_27 WHERE bronze > 2 AND gold < 16 AND silver = 0 AND rank = "13"
SELECT AVG("total") FROM "table_name_27" WHERE "13" = "rank" AND "bronze" > 2 AND "gold" < 16 AND "silver" = 0