CREATE TABLE table_name_23 (gold NUMBER, total VARCHAR2, bronze VARCHAR2)

What is the sum of gold medals won by teams that won 5 total medals and fewer than 2 bronze medals?
SELECT SUM(gold) FROM table_name_23 WHERE total = 5 AND bronze < 2
SELECT SUM("gold") FROM "table_name_23" WHERE "bronze" < 2 AND "total" = 5