Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2?
CREATE TABLE "results" (
  "year" real,
  "class" text,
  "team_name" text,
  "bike" text,
  "riders" text,
  "races" text,
  "wins" real,
  "podiums" real,
  "poles" real,
  "f_laps" real,
  "points" text,
  "pos" text
);
SELECT MAX("wins") FROM "results" WHERE "pos"='2nd' AND "poles">2;