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

Question: What year featured lola motorsport as an entrant with over 0 points?
SQL: SELECT AVG("year") FROM "complete_international_formula_3000_resu" WHERE "entrant"='lola motorsport' AND "points">0;

Question: When is the earliest year that there's a judd engine?
SQL: SELECT MIN("year") FROM "complete_international_formula_3000_resu" WHERE "engine"='judd';

Question: What chassis is used in 1989 with a cosworth engine?
SQL: SELECT "chassis" FROM "complete_international_formula_3000_resu" WHERE "year"=1989 AND "engine"='cosworth';