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

Question: Which highest wins number had Kawasaki as a team, 95 points, and a year prior to 1981?
SQL: SELECT MAX("wins") FROM "motorcycle_grand_prix_results" WHERE "team"='kawasaki' AND "points"=95 AND "year"<1981;

Question: How many points numbers had a class of 250cc, a year prior to 1978, Yamaha as a team, and where wins was more than 0?
SQL: SELECT COUNT("points") FROM "motorcycle_grand_prix_results" WHERE "class"='250cc' AND "year"<1978 AND "team"='yamaha' AND "wins">0;

Question: What is the mean year number where there are more than 0 wins, the class is 250cc, and the points are 95?
SQL: SELECT AVG("year") FROM "motorcycle_grand_prix_results" WHERE "wins">0 AND "class"='250cc' AND "points"=95;