Table schema:
CREATE TABLE table_27462209_1 (written_by VARCHAR, prod_code VARCHAR)

Question: Name who wrote the production code 322
SQL: SELECT written_by FROM table_27462209_1 WHERE prod_code = 322