Question: What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals?
SQL: SELECT MAX("Total") FROM "2-18564507-1" WHERE "Gold" = 20.0 AND "Rank" < 1.0;

Question: What is the nation that had more than 1 gold medal and a total of 62 medals?
SQL: SELECT "Nation" FROM "2-18564507-1" WHERE "Gold" > 1.0 AND "Total" = 62.0;

Question: What is the highest total medals when there were 0 gold medals and 1 silver?
SQL: SELECT MAX("Total") FROM "2-18564507-1" WHERE "Silver" = 1.0 AND "Gold" < 0.0;