CREATE TABLE "medals_summary" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: Name the average Bronze when silver is more than 3, gold is more than 1 and the total is 14
SQL: SELECT AVG("bronze") FROM "medals_summary" WHERE "gold">1 AND "total"=14 AND "silver">3;

Question: Name the total number of total for rank of 7 and bronze less than 1
SQL: SELECT COUNT("total") FROM "medals_summary" WHERE "rank"='7' AND "bronze"<1;

Question: Name the most silver with bronze more than 1 and gold more than 1 with total less than 7
SQL: SELECT MAX("silver") FROM "medals_summary" WHERE "bronze">1 AND "total"<7 AND "gold">1;

Question: Name the sum of total for gold less than 1 and bronze of 3
SQL: SELECT SUM("total") FROM "medals_summary" WHERE "gold"<1 AND "bronze"=3;

Question: Name the total number of bronze with rank of 5 and silver more than 1
SQL: SELECT COUNT("bronze") FROM "medals_summary" WHERE "rank"='5' AND "silver">1;