CREATE TABLE table_29273182_1 (written_by VARCHAR2, production_code VARCHAR2)

Who wrote the episode with a production code of ip03007?
SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03007"
SELECT "written_by" FROM "table_29273182_1" WHERE "IP03007" = "production_code"