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

Question: What is the average number of points for a team in the 250cc class with fewer than 0 wins?
SQL: SELECT AVG("points") FROM "motorcycle_grand_prix_results" WHERE "class"='250cc' AND "wins"<0;

Question: What is the smallest number of points for a 1981 team?
SQL: SELECT MIN("points") FROM "motorcycle_grand_prix_results" WHERE "year"=1981;

Question: What is the fewest number of wins for a team ranked 8th with fewer than 32 points in the 350cc class?
SQL: SELECT MIN("wins") FROM "motorcycle_grand_prix_results" WHERE "points"<32 AND "class"='350cc' AND "rank"='8th';

Question: What was the rank of the 1983 team in the 250cc class?
SQL: SELECT "rank" FROM "motorcycle_grand_prix_results" WHERE "class"='250cc' AND "year"=1983;