CREATE TABLE "motorcycle_grand_prix_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "rank" text,
  "wins" real
);

Question: What's the average Year that has Points that's smaller than 9 with a Rank of 24th?
SQL: SELECT AVG("year") FROM "motorcycle_grand_prix_results" WHERE "points"<9 AND "rank"='24th';