user: ### NOW ANSWER:
Question: Who wrote the episode with production code 5?
Columns: ['Series #', 'Episode title', 'Directed by', 'Written by', 'Original air date', 'Prod. code']
Types: ['real', 'text', 'text', 'text', 'text', 'real']
Sample row: [1.0, '"Pilot"', 'Terry Hughes', 'Jonathan Schmock & Jim Vallely', 'September16,1995', 1.0]
SQL:

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