user: Question: Who wrote the episode what had the rating 2.27m (5)?
Columns: ['Series No.', 'Episode No.', 'Title', 'Directed by', 'Written by', 'UK Ratings (BBC2 Rank)', 'Original air date']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [6.0, 1.0, '"London to Antwerp "', 'David Symonds', 'n/a', '1.96m (16)', '5June2011']
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "UK Ratings (BBC2 Rank)" = '2.27m (5)';