CREATE TABLE "summary" (
  "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
);

Question: Name the poles for 2011
SQL: SELECT "poles" FROM "summary" WHERE "year"=2011;

Question: Name the rdiers for jir team scot motogp
SQL: SELECT "riders" FROM "summary" WHERE "team_name"='JiR Team Scot MotoGP';

Question: Name the class for makoto tamada and races is 17
SQL: SELECT "class" FROM "summary" WHERE "riders"='Makoto Tamada' AND "races"='17';

Question: Name the most wins
SQL: SELECT MIN("wins") FROM "summary";