CREATE TABLE table_name_34 (bronze INT, rank VARCHAR, total VARCHAR)

With 8 as the rank, and a total of more than 2 medals what is the average bronze medals?
SELECT AVG(bronze) FROM table_name_34 WHERE rank = "8" AND total > 2
SELECT AVG("bronze") FROM "table_name_34" WHERE "8" = "rank" AND "total" > 2