user: ### NOW ANSWER:
Question: Who wore the episode with the production code of 1APX11?
Columns: ['Series #', 'Title', 'Directed by', 'Written by', 'Original air date', 'Prod. code']
Types: ['real', 'text', 'text', 'text', 'text', 'text']
Sample row: [1.0, '" Pilot "', 'Michael Fresco', 'Victor Fresco', 'March18,2009', '1APX79']
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "Prod. code" = '1APX11';