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

What is the sum of gold values that have bronze values over 0 and totals under 2?
SELECT SUM(gold) FROM table_name_34 WHERE bronze > 0 AND total < 2
SELECT SUM("gold") FROM "table_name_34" WHERE "bronze" > 0 AND "total" < 2