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

Question: Count the average Wins which has a Class of 250cc, and a Year of 1972?
SQL: SELECT AVG("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='250cc' AND "year"=1972;

Question: Name the lowest Wins which has Points of 28, and a Year smaller than 1972?
SQL: SELECT MIN("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "points"=28 AND "year"<1972;

Question: Name the Team which has Points larger than 9, and a Year larger than 1971, and a Class of 250cc?
SQL: SELECT "team" FROM "grand_prix_motorcycle_racing_results" WHERE "points">9 AND "year">1971 AND "class"='250cc';

Question: Name the Wins which has a Class of 350cc, and a Year smaller than 1973?
SQL: SELECT SUM("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='350cc' AND "year"<1973;

Question: How many Points has Wins larger than 0?
SQL: SELECT COUNT("points") FROM "grand_prix_motorcycle_racing_results" WHERE "wins">0;