CREATE TABLE table_name_89 (total INT, gold INT)

What is the lowest medal total with less than 3 gold medals?
SELECT MIN(total) FROM table_name_89 WHERE gold < 3
SELECT MIN("total") FROM "table_name_89" WHERE "gold" < 3