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

Question: What year is listed that has points greater than 0 with a chassis labeled AGS JH22?
SQL: SELECT "year" FROM "complete_formula_one_results" WHERE "points">0 AND "chassis"='ags jh22';

Question: What is the total points listed that includes P listed Tyres after 1986?
SQL: SELECT SUM("points") FROM "complete_formula_one_results" WHERE "tyres"='p' AND "year">1986;

Question: What point is the lowest for listings of chassis labeled AGS JH23 before 1988?
SQL: SELECT MIN("points") FROM "complete_formula_one_results" WHERE "chassis"='ags jh23' AND "year"<1988;

Question: What is the total point for the year listed in 1988?
SQL: SELECT SUM("points") FROM "complete_formula_one_results" WHERE "year"=1988;