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

Question: How many wins did the team, which had more than 110 points, have in 1989?
SQL: SELECT SUM("wins") FROM "motorcycle_grand_prix_results" WHERE "year"=1989 AND "points">110;

Question: What is the highest number of points the team with 0 wins had before 1992?
SQL: SELECT MAX("points") FROM "motorcycle_grand_prix_results" WHERE "wins"=0 AND "year"<1992;