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

Question: Which Points have a Year larger than 1966, and Wins larger than 1?
SQL: SELECT AVG("points") FROM "motorcycle_grand_prix_results" WHERE "year">1966 AND "wins">1;

Question: Which Year is the lowest one that has Wins smaller than 0?
SQL: SELECT MIN("year") FROM "motorcycle_grand_prix_results" WHERE "wins"<0;

Question: Which Points have Wins larger than 1?
SQL: SELECT AVG("points") FROM "motorcycle_grand_prix_results" WHERE "wins">1;

Question: Which Wins have a Year of 1963, and a Class of 50cc?
SQL: SELECT AVG("wins") FROM "motorcycle_grand_prix_results" WHERE "year"=1963 AND "class"='50cc';