user: Question: Who wrote the episode with 3.96 million US viewers?
Columns: ['No.', '#', 'Title', 'Directed by', 'Written by', 'U.S. air date', 'Production code', 'U.S. viewers (million)']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: [67.0, 1.0, '" Crusade"', 'Greg Beeman', 'Alfred Gough & Miles Millar', 'September22,2004', '2T5201', '6.07']
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "U.S. viewers (million)" = '3.96';