CREATE TABLE "constructors" (
  "constructor" text,
  "chassis" text,
  "starts" real,
  "finishes" real,
  "wins" real,
  "podiums" real,
  "stage_wins" real,
  "points" real
);

Question: what is the highest podiums when the stage wins is 91 and the points is less than 140?
SQL: SELECT MAX("podiums") FROM "constructors" WHERE "stage_wins"=91 AND "points"<140;

Question: what is the average wins when the podiums is more than 1, points is 80 and starts is less than 28?
SQL: SELECT AVG("wins") FROM "constructors" WHERE "podiums">1 AND "points"=80 AND "starts"<28;

Question: what is the total number of points when the constructor is citroën total world rally team and the wins is less than 7?
SQL: SELECT COUNT("points") FROM "constructors" WHERE "constructor"='citroën total world rally team' AND "wins"<7;

Question: what is the highest points when the chassis is focus rs wrc 08 and 09 and the stage wins is more than 91?
SQL: SELECT MAX("points") FROM "constructors" WHERE "chassis"='focus rs wrc 08 and 09' AND "stage_wins">91;