CREATE TABLE "head_to_head" (
  "team" text,
  "miles_one_way" real,
  "home_result" text,
  "fans_brought" text,
  "away_result" text,
  "fans_took" text,
  "points_gained" real
);

Question: What is the highest points gained of the match where fans took 907 and there were more than 44.9 miles one way?
SQL: SELECT MAX("points_gained") FROM "head_to_head" WHERE "fans_took"='907' AND "miles_one_way">44.9;

Question: What is the points gained of the match where fans took 403 [sunday]?
SQL: SELECT SUM("points_gained") FROM "head_to_head" WHERE "fans_took"='403 [sunday]';

Question: Which team had fans took of 288?
SQL: SELECT "team" FROM "head_to_head" WHERE "fans_took"='288';