Table: us_tv_schedule_0708
Columns: network
8_00_pm
8_30_pm
9_00_pm
9_30_pm
10_00_pm

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

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

Question: What is the 8:30pm show on fox?
SQL: SELECT "8_30_pm" FROM us_tv_schedule_0708 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 us_tv_schedule_0708 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 us_tv_schedule_0708 WHERE "8_00_pm" = 'my thursday night movie'