CREATE TABLE table_40415 ("8:00" TEXT, "8:30" TEXT, "9:00" TEXT, "9:30" TEXT, "10:00" TEXT)

What is 8:30, when 9:00 is 'The Office (Reruns)', and when 10:00 is 'Law & Order (Reruns)'?
SELECT "8:30" FROM table_40415 WHERE "9:00" = 'the office (reruns)' AND "10:00" = 'law & order (reruns)'
SELECT "8:30" FROM "table_40415" WHERE "10:00" = 'law & order (reruns)' AND "9:00" = 'the office (reruns)'