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

Question: What was the average number of silver medals won by France when they are ranked higher than 8?
SQL: SELECT AVG("silver") FROM "medals_table" WHERE "nation"='france' AND "rank">8;