user: Question: Who wrote the episode with series number 45?
Columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code', 'U.S. viewers (millions)']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['27', '1', '"True Concert"', 'Gary Halvorson', 'Dan Kopelman', 'November14,2009', '204', '3.8']
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "No. in series" = '45';