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

Question: What engine has more than 0 pts?
SQL: SELECT "engine" FROM "complete_formula_one_results" WHERE "pts">0;

Question: What is the average pots of Alfa Romeo v12 after 1983?
SQL: SELECT AVG("pts") FROM "complete_formula_one_results" WHERE "engine"='alfa romeo v12' AND "year">1983;