user: ### NOW ANSWER:
Question: Who wrote the episode directed by Peter Woeste?
Columns: ['No. in season', 'No. disc', 'Title', 'Directed by', 'Written by', 'Original air date']
Types: ['real', 'real', 'text', 'text', 'text', 'text']
Sample row: [1.0, 1.0, '" New Order (Part 1) "', 'Andy Mikita', 'Joseph Mallozzi & Paul Mullie', 'July9,2004 ( Sci Fi Channel )']
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "Directed by" = 'Peter Woeste';