CREATE TABLE "career_summary" (
  "season" real,
  "wins" real,
  "poles" real,
  "podiums" real,
  "position" text
);

Question: What is the total number of Podiums, when Position is "2nd", when Wins is less than 6, and when Poles is greater than 0?
SQL: SELECT COUNT("podiums") FROM "career_summary" WHERE "position"='2nd' AND "wins"<6 AND "poles">0;

Question: What is the sum of Poles, when Season is greater than 2004, and when Podiums is less than 1?
SQL: SELECT SUM("poles") FROM "career_summary" WHERE "season"<2004 AND "podiums"<1;

Question: What is the average Poles, when Wins is 0, when Position is "nc", and when Season is before 2004?
SQL: SELECT AVG("poles") FROM "career_summary" WHERE "wins"=0 AND "position"='nc' AND "season"<2004;

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