How many Lost have Points larger than 40, and a Position of 11, and a Played smaller than 38?
CREATE TABLE "campeonato_brasileiro_s_rie_a" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
SELECT SUM("lost") FROM "campeonato_brasileiro_s_rie_a" WHERE "points">40 AND "position"=11 AND "played"<38;