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

Question: How many Points have a Rank of 17th, and Wins larger than 0?
SQL: SELECT COUNT("points") FROM "grand_prix_motorcycle_racing_results" WHERE "rank"='17th' AND "wins">0;

Question: Which Wins have a Class of 500cc, and a Year smaller than 1975?
SQL: SELECT "wins" FROM "grand_prix_motorcycle_racing_results" WHERE "class"='500cc' AND "year"<1975;

Question: Which Wins is the highest one that has a Class of 500cc, and Points smaller than 6?
SQL: SELECT MAX("wins") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='500cc' AND "points"<6;

Question: Which Points is the lowest one that has a Year larger than 1974, and a Rank of 15th?
SQL: SELECT MIN("points") FROM "grand_prix_motorcycle_racing_results" WHERE "year">1974 AND "rank"='15th';