Question: What was the highest number of bronze medals for the entry with rank 2 and fewer than 3 silver medals?
SQL: SELECT MAX("Bronze") FROM "2-17660359-1" WHERE "Rank" = '2' AND "Silver" < 3.0;

Question: What is the average number of gold medals won by brazil for entries with more than 1 bronze medal but a total smaller than 4?
SQL: SELECT AVG("Gold") FROM "2-17660359-1" WHERE "Total" < 4.0 AND "Nation" = 'brazil' AND "Bronze" > 1.0;

Question: What is the sum of silver medals for the entry with rank 3 and a total of 4 medals?
SQL: SELECT SUM("Silver") FROM "2-17660359-1" WHERE "Total" = 4.0 AND "Rank" = '3';