Question: What is the average total medals egypt, who has less than 2 gold, has?
SQL: SELECT AVG("Total") FROM "2-12097182-3" WHERE "Nation" = 'egypt' AND "Gold" < 2.0;

Question: What is the total number of gold medals egypt, who has less than 0 silver, has?
SQL: SELECT COUNT("Gold") FROM "2-12097182-3" WHERE "Nation" = 'egypt' AND "Silver" < 0.0;

Question: What is the highest gold a team with less than 3 silver and more than 5 bronze medals has?
SQL: SELECT MAX("Gold") FROM "2-12097182-3" WHERE "Silver" < 3.0 AND "Bronze" > 5.0;

Question: What is the rank of the team with 1 bronze and 0 gold medals?
SQL: SELECT "Rank" FROM "2-12097182-3" WHERE "Bronze" = 1.0 AND "Gold" = 0.0;