CREATE TABLE table_29273182_1 (written_by VARCHAR, production_code VARCHAR)

Who wrote the episode with ip03012 as the production code?
SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03012"
SELECT "written_by" FROM "table_29273182_1" WHERE "IP03012" = "production_code"