CREATE TABLE table_31036 ("No. in series" FLOAT, "No. in season" FLOAT, "Title" CLOB, "Directed by" CLOB, "Written by" CLOB, "Original air date" CLOB, "Production code" CLOB)

Who wrote the episode with a production code of ip03007?
SELECT "Written by" FROM table_31036 WHERE "Production code" = 'IP03007'
SELECT "Written by" FROM "table_31036" WHERE "Production code" = 'IP03007'