CREATE TABLE "campos_racing" (
  "year" real,
  "team_name" text,
  "drivers" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "points" real,
  "d_c" text,
  "t_c" text
);

Question: Which T.C. has a Win of 1, and a Race of 21?
SQL: SELECT "t_c" FROM "campos_racing" WHERE "wins"=1 AND "races"=21;

Question: How many years have Drivers of ben hanley, and Flaps smaller than 0?
SQL: SELECT COUNT("year") FROM "campos_racing" WHERE "drivers"='ben hanley' AND "f_laps"<0;

Question: How many Points have Drivers of adrián vallés, and a Year larger than 2006?
SQL: SELECT AVG("points") FROM "campos_racing" WHERE "drivers"='adrián vallés' AND "year">2006;

Question: How many Poles have Drivers of juan cruz álvarez, and FLaps larger than 0?
SQL: SELECT SUM("poles") FROM "campos_racing" WHERE "drivers"='juan cruz álvarez' AND "f_laps">0;