CREATE TABLE "grand_prix_motorcycle_racing_results" (
  "year" real,
  "class" text,
  "team" text,
  "points" real,
  "wins" real
);

Question: What is the average wins in 250cc class for Bultaco with 8 points later than 1966?
SQL: SELECT AVG("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='250cc' AND "team"='bultaco' AND "year">1966 AND "points"=8;

Question: Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973?
SQL: SELECT "class" FROM "grand_prix_motorcycle_racing_results" WHERE "points">2 AND "year"<1973 AND "wins">0;

Question: What is the sum of all points in 1975 with 0 wins?
SQL: SELECT SUM("points") FROM "grand_prix_motorcycle_racing_results" WHERE "year"=1975 AND "wins"<0;