Question: What is the total medals for nation with more than 0 silvers and more than 0 golds?
SQL: SELECT AVG("Total") FROM "2-17455745-1" WHERE "Silver" > 0.0 AND "Gold" > 0.0;

Question: What is the fewest gold medals for a team with fewer than 1 silver, more than 1 bronze and a total less than 4?
SQL: SELECT MIN("Gold") FROM "2-17455745-1" WHERE "Silver" < 1.0 AND "Total" < 4.0 AND "Bronze" > 1.0;

Question: What is the smallest rank when there are fewer than 1 silver, 4 golds and less than 0 bronze?
SQL: SELECT MIN("Rank") FROM "2-17455745-1" WHERE "Silver" < 1.0 AND "Gold" = 4.0 AND "Bronze" < 0.0;

Question: How many gold medals for a nation with rank less than 5, more than 0 silvers and a total of 2 medals?
SQL: SELECT AVG("Gold") FROM "2-17455745-1" WHERE "Rank" < 5.0 AND "Silver" > 0.0 AND "Total" = 2.0;

Question: What is the total for the team with more than 2 golds and more than 0 bronze?
SQL: SELECT SUM("Total") FROM "2-17455745-1" WHERE "Gold" > 2.0 AND "Bronze" > 0.0;