CREATE TABLE table_name_5 (first NUMBER, total VARCHAR2, gold VARCHAR2)

What is the latest first year with 0 total medals and over 0 golds?
SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 0
SELECT MAX("first") FROM "table_name_5" WHERE "gold" > 0 AND "total" > 0