What is the sum of caps for players with less than 9 goals ranked below 8?
CREATE TABLE "most_caps" (
  "rank" real,
  "player" text,
  "nation" text,
  "caps" real,
  "goals" real,
  "years" text
);
SELECT SUM("caps") FROM "most_caps" WHERE "goals"<9 AND "rank">8;