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

Question: How many points did ginger have when she was ranked 5th on a 350cc class bike?
SQL: SELECT COUNT("points") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='350cc' AND "rank"='5th';

Question: What year was she ranked 16th with over 12 points?
SQL: SELECT COUNT("year") FROM "grand_prix_motorcycle_racing_results" WHERE "rank"='16th' AND "points">12;

Question: What year was she on a 350cc class bike, ranked 16th, with over 0 wins?
SQL: SELECT SUM("year") FROM "grand_prix_motorcycle_racing_results" WHERE "class"='350cc' AND "rank"='16th' AND "wins">0;

Question: How many points did she have with team bultaco, ranked 6th?
SQL: SELECT SUM("points") FROM "grand_prix_motorcycle_racing_results" WHERE "team"='bultaco' AND "rank"='6th';