Name the least amount of races for 2 poles
CREATE TABLE "by_season" (
  "season" real,
  "class" text,
  "motorcycle" text,
  "team" text,
  "races" real,
  "wins" real,
  "podiums" real,
  "poles" real,
  "f_laps" real,
  "points" text,
  "placement" text
);
SELECT MIN("races") FROM "by_season" WHERE "poles"=2;