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

Question: When is the earliest year associated with team norton and 0 wins?
SQL: SELECT MIN("year") FROM "motorcycle_grand_prix_results" WHERE "team"='norton' AND "wins"<0;

Question: What is the year that there were 0 wins, team AJS, and under 12 points?
SQL: SELECT COUNT("year") FROM "motorcycle_grand_prix_results" WHERE "wins"=0 AND "team"='ajs' AND "points"<12;