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

Question: Which year had a team of Aprilia and a rank of 4th?
SQL: SELECT "year" FROM "motorcycle_grand_prix_results" WHERE "team"='aprilia' AND "rank"='4th';

Question: Which class had a machine of RS125R, points over 113, and a rank of 4th?
SQL: SELECT "class" FROM "motorcycle_grand_prix_results" WHERE "machine"='rs125r' AND "points">113 AND "rank"='4th';

Question: Which team had a year over 1995, machine of RS125R, and ranked 1st?
SQL: SELECT "team" FROM "motorcycle_grand_prix_results" WHERE "year">1995 AND "machine"='rs125r' AND "rank"='1st';