How many wins are associated with a position of under 6, over 8 top 5s, and 1793 points?
CREATE TABLE "standings" (
  "position" real,
  "driver" text,
  "wins" real,
  "poles" real,
  "top_5_s" real,
  "points" real
);
SELECT SUM("wins") FROM "standings" WHERE "position"<6 AND "top_5_s"=8 AND "points"=1793;