CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "points" real
);

Question: How many years did John Player Lotus used Cosworth v8?
SQL: SELECT SUM("year") FROM "complete_formula_one_results" WHERE "engine"='cosworth v8' AND "entrant"='john player lotus';

Question: Who used Eurobrun er189b after 1989?
SQL: SELECT "entrant" FROM "complete_formula_one_results" WHERE "year">1989 AND "chassis"='eurobrun er189b';

Question: Who used Ford v8 and Jordan 191 after 1990 and got 8 points?
SQL: SELECT "entrant" FROM "complete_formula_one_results" WHERE "year">1990 AND "engine"='ford v8' AND "points"=8 AND "chassis"='jordan 191';