user: ### NOW ANSWER:
Question: Name who wrote the production code 322
Columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'U.S. viewers (millions)', 'Original U.S. air date', 'Prod. code']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text', 'real']
Sample row: [52.0, 1.0, '"Franken Girl"', 'Bob Koherr', 'Peter Murrieta', '4.6', 'October9,2009', 301.0]
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "Prod. code" = 322.0;