Question: What is the sum of Gold, when Total is greater than 2, when Bronze is greater than 1, and when Silver is less than 1?
SQL: SELECT SUM("Gold") FROM "2-15970834-1" WHERE "Total" > 2.0 AND "Bronze" > 1.0 AND "Silver" < 1.0;

Question: What is the sum of Gold, when Total is less than 1?
SQL: SELECT SUM("Gold") FROM "2-15970834-1" WHERE "Total" < 1.0;

Question: What is the average Total, when Gold is 0, and when Nation is Iran?
SQL: SELECT AVG("Total") FROM "2-15970834-1" WHERE "Gold" = 0.0 AND "Nation" = 'Iran';

Question: What is the sum of Total, when Nation is west germany, and when Gold is greater than 2?
SQL: SELECT SUM("Total") FROM "2-15970834-1" WHERE "Nation" = 'west germany' AND "Gold" > 2.0;

Question: What is the average Total, when Gold is less than 0?
SQL: SELECT AVG("Total") FROM "2-15970834-1" WHERE "Gold" < 0.0;