CREATE TABLE table_27462209_1 (written_by VARCHAR, prod_code VARCHAR)

Name who wrote the production code 322
SELECT written_by FROM table_27462209_1 WHERE prod_code = 322
SELECT "written_by" FROM "table_27462209_1" WHERE "prod_code" = 322