CREATE TABLE table_name_98 (gold NUMBER, nation VARCHAR2, total VARCHAR2)

What is the sum of all gold medals for Algeria when total medals is less than 3?
SELECT SUM(gold) FROM table_name_98 WHERE nation = "algeria" AND total < 3
SELECT SUM("gold") FROM "table_name_98" WHERE "algeria" = "nation" AND "total" < 3