What is the sum of Poles, when Season is before 2005, when Position is "2nd", and when Wins is less than 6?
CREATE TABLE "career_summary" (
  "season" real,
  "wins" real,
  "poles" real,
  "podiums" real,
  "position" text
);
SELECT SUM("poles") FROM "career_summary" WHERE "season"<2005 AND "position"='2nd' AND "wins"<6;