CREATE TABLE "thursday" (
  "network" text,
  "8_00_pm" text,
  "8_30_pm" text,
  "9_00_pm" text,
  "9_30_pm" text,
  "10_00_pm" text
);

Question: What is on at 9:00pm on the channel of smallville?
SQL: SELECT "9_00_pm" FROM "thursday" WHERE "8_00_pm"='smallville';

Question: What is the network that plays ugly betty?
SQL: SELECT "network" FROM "thursday" WHERE "8_30_pm"='ugly betty';

Question: What is the 8:30pm show on fox?
SQL: SELECT "8_30_pm" FROM "thursday" WHERE "network"='fox';

Question: What is the 8:30pm channel that has local programming at ten and nine thirty is my thursday night movie?
SQL: SELECT "8_30_pm" FROM "thursday" WHERE "10_00_pm"='local programming' AND "9_30_pm"='my thursday night movie';

Question: Name the 10:00pm when 8:0pm is my thursday night movie
SQL: SELECT "10_00_pm" FROM "thursday" WHERE "8_00_pm"='my thursday night movie';