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

Question: What is the earliest year in the 125cc class with more than 102 points and a rank of 2nd?
SQL: SELECT MIN("year") FROM "grand_prix_career_statistics" WHERE "class"='125cc' AND "points">102 AND "rank"='2nd';

Question: Which team had fewer than 167 points in the 250cc class?
SQL: SELECT "team" FROM "grand_prix_career_statistics" WHERE "points"<167 AND "class"='250cc';

Question: For years before 1996, having a rank of 3rd in the 125cc class, what is the sum of the points?
SQL: SELECT SUM("points") FROM "grand_prix_career_statistics" WHERE "class"='125cc' AND "rank"='3rd' AND "year"<1996;