user: ### NOW ANSWER:
Question: Who was the director when the writer was John Sullivan?
Columns: ['Episode', 'Original title', 'Directed by', 'Written by', 'Original airdate', 'Duration', 'Viewership']
Types: ['real', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: [8.0, '" Testing Times "', 'Dewi Humphreys', 'Jim Sullivan', '15September2006', '30 minutes', '5.04 million']
SQL:

assistant: SELECT "Directed by" FROM "Table" WHERE "Written by" = 'John Sullivan';