CREATE TABLE "by_seasons" (
  "season" text,
  "races" real,
  "podiums" real,
  "pole" real,
  "f_laps" real
);

Question: WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143?
SQL: SELECT MAX("f_laps") FROM "by_seasons" WHERE "podiums"=24 AND "races">143;

Question: WHAT ARE THE RACES WHEN FLAPS ARE ZERO, PODIUMS ARE LARGER THAN 0, SEASON IS 2008, AND POLE SMALLER THAN 1?
SQL: SELECT SUM("races") FROM "by_seasons" WHERE "f_laps"=0 AND "podiums">0 AND "season"='2008' AND "pole"<1;

Question: WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007?
SQL: SELECT MIN("races") FROM "by_seasons" WHERE "pole"<2 AND "season"='2007';

Question: WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?
SQL: SELECT MAX("races") FROM "by_seasons" WHERE "season"='2010' AND "f_laps">6;