CREATE TABLE "by_class" (
  "class" text,
  "season" text,
  "race" real,
  "podiums" real,
  "pole" real
);

Question: How many poles had a moto2 class?
SQL: SELECT "pole" FROM "by_class" WHERE "class"='moto2';