CREATE TABLE table_15178 ("Rank" FLOAT, "Nation" CLOB, "Gold" FLOAT, "Silver" FLOAT, "Bronze" FLOAT, "Total" FLOAT)

What is the largest gold with a Total of 2, and a Rank smaller than 2?
SELECT MAX("Gold") FROM table_15178 WHERE "Total" = '2' AND "Rank" < '2'
SELECT MAX("Gold") FROM "table_15178" WHERE "Rank" < '2' AND "Total" = '2'