CREATE TABLE "riders" (
  "position" real,
  "driver_passenger" text,
  "equipment" text,
  "points" real,
  "wins" text,
  "second" text,
  "third" text
);

Question: What was the highest points when the second was 4?
SQL: SELECT MAX("points") FROM "riders" WHERE "second"='4';

Question: Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win?
SQL: SELECT "driver_passenger" FROM "riders" WHERE "third"='1' AND "position"<8 AND "wins"='1';