CREATE TABLE table_name_74 (total NUMBER, gold VARCHAR2, rank VARCHAR2, bronze VARCHAR2)

Which is the highest total at rank 6, bronze 2, and gold larger than 0?
SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0
SELECT MAX("total") FROM "table_name_74" WHERE "bronze" = 2 AND "gold" > 0 AND "rank" = 6