CREATE TABLE "tuesday" (
  "8_00" text,
  "8_30" text,
  "9_00" text,
  "9_30" text,
  "10_00" text
);

Question: What show was on at 8:00 when american idol was on at 9:00?
SQL: SELECT "8_00" FROM "tuesday" WHERE "9_00"='american idol';

Question: What was on at 8:30 when dancing with the stars: the results was on at 9:30?
SQL: SELECT "8_30" FROM "tuesday" WHERE "9_30"='dancing with the stars: the results';

Question: What was on at 8:30 when dancing with the stars: the results was on at 9:30?
SQL: SELECT "8_30" FROM "tuesday" WHERE "9_00"='dancing with the stars: the results';

Question: What was on at 10:00 when ncis was on at 8:00?
SQL: SELECT "10_00" FROM "tuesday" WHERE "8_00"='ncis';