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

Question: what is the engine for year less than 1959 and points more than 4?
SQL: SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "year"<1959 AND "points">4;

Question: what is the least year for 4 points?
SQL: SELECT MIN("year") FROM "complete_formula_one_world_championship_" WHERE "points"=4;

Question: what is the entrant for the ferrari v8 with points less than 4?
SQL: SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "engine"='ferrari v8' AND "points"<4;

Question: what is the average year for 0 points and ferrari v8?
SQL: SELECT AVG("year") FROM "complete_formula_one_world_championship_" WHERE "points"=0 AND "engine"='ferrari v8';