Which Played has a Drawn of 5, and a Team of palmeiras, and a Position smaller than 6?
CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
SELECT MAX("played") FROM "campeonato_paulista" WHERE "drawn"=5 AND "team"='palmeiras' AND "position"<6;