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

Question: What engine with more than 2 points has Brabham bt58 as Chassis?
SQL: SELECT "engine" FROM "complete_formula_one_results" WHERE "chassis"='brabham bt58' AND "points">2;

Question: How many points did Judd v8 has in 1989?
SQL: SELECT COUNT("points") FROM "complete_formula_one_results" WHERE "engine"='judd v8' AND "year"=1989;

Question: How many years has Sasol Jordan Yamaha as an Entrant?
SQL: SELECT AVG("year") FROM "complete_formula_one_results" WHERE "entrant"='sasol jordan yamaha';