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

Question: What is the average rank of Great Britain when their total is over 4?
SQL: SELECT AVG("rank") FROM "nations" WHERE "total">4 AND "nation"='great britain';

Question: What is the total number of Silvers held by France when their rank was over 14?
SQL: SELECT COUNT("silver") FROM "nations" WHERE "nation"='france' AND "rank">14;