CREATE TABLE "game_history" (
  "year" real,
  "date" text,
  "television" text,
  "designated_visitors" text,
  "designated_home" text,
  "stadium" text,
  "city" text
);

Question: What year had a date of TBA where the Oakland raiders were the home team?
SQL: SELECT AVG("year") FROM "game_history" WHERE "date"='tba' AND "designated_home"='oakland raiders';

Question: Who was the home team on October 28 when the new england patriots were the visitors?
SQL: SELECT "designated_home" FROM "game_history" WHERE "date"='october 28' AND "designated_visitors"='new england patriots';

Question: Who were the visitors when the Atlanta Falcons were the home team?
SQL: SELECT "designated_visitors" FROM "game_history" WHERE "designated_home"='atlanta falcons';

Question: Who were the home team during the game that aired on Fox after 2007 on October 23?
SQL: SELECT "designated_home" FROM "game_history" WHERE "television"='fox' AND "year">2007 AND "date"='october 23';