user: Question: Who wrote the episode that was directed by Terry Ingram?
Columns: ['Episode #', 'Title', 'Directed by', 'Written by', 'Original airdate']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['89 (1)', '"Déjà Vu All Over Again"', 'Jon Cassar', 'Robert Cochran', 'January 7, 2001']
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "Directed by" = 'Terry Ingram';