CREATE TABLE "summer_1998" (
  "7_30_am" text,
  "8_00_am" text,
  "9_00_am" text,
  "11_00_am" text,
  "noon" text,
  "12_30_pm" text,
  "1_00_pm" text,
  "1_30_pm" text,
  "2_00_pm" text,
  "3_00_pm" text,
  "3_30_pm" text,
  "4_00_pm" text,
  "5_00_pm" text,
  "6_30_pm" text
);

Question: What is on at 12:30pm when Local Programs are on at 8am?
SQL: SELECT "12_30_pm" FROM "summer_1998" WHERE "8_00_am"='local programs';

Question: What is on at 1:30 if Pinky and the Brain is on a 4:00pm?
SQL: SELECT "1_30_pm" FROM "summer_1998" WHERE "4_00_pm"='pinky and the brain';

Question: What is the 12:30 program of Good Morning America is on at 8:00am?
SQL: SELECT "12_30_pm" FROM "summer_1998" WHERE "8_00_am"='good morning america';

Question: What is on at 8am if The Young and the Restless is on at 12:30?
SQL: SELECT "8_00_am" FROM "summer_1998" WHERE "12_30_pm"='the young and the restless';

Question: What is on at 3:00pm if Port Charles is on at 12:30?
SQL: SELECT "3_00_pm" FROM "summer_1998" WHERE "12_30_pm"='port charles';