What is the average number of played of the team with 3 losses, more than 9 points, a position of 5, and less than 12 against?
CREATE TABLE "torneio_rio_s_o_paulo" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
SELECT AVG("played") FROM "torneio_rio_s_o_paulo" WHERE "lost"=3 AND "points">9 AND "position"=5 AND "against"<12;