CREATE TABLE table_name_19 (gold INT, bronze VARCHAR, total VARCHAR, nation VARCHAR)

What is the average number of gold medals won by Brazil for entries with more than 1 bronze medal but a total smaller than 4?
SELECT AVG(gold) FROM table_name_19 WHERE total < 4 AND nation = "brazil" AND bronze > 1
SELECT AVG("gold") FROM "table_name_19" WHERE "brazil" = "nation" AND "bronze" > 1 AND "total" < 4