What was Andorra's total with less than 10 silver and more than 5 bronze?
CREATE TABLE "medal_table" (
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT SUM("total") FROM "medal_table" WHERE "silver"<10 AND "nation"='andorra' AND "bronze">5;