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

Question: which year has the toyota tf102 chassis?
SQL: SELECT COUNT("year") FROM "complete_formula_one_results" WHERE "chassis"='toyota tf102';

Question: what was the engine used before 1996 with 5 points?
SQL: SELECT "engine" FROM "complete_formula_one_results" WHERE "year"<1996 AND "points"=5;

Question: What number of years did the red bull sauber petronas have greater than 6 points?
SQL: SELECT COUNT("year") FROM "complete_formula_one_results" WHERE "entrant"='red bull sauber petronas' AND "points">6;