Table: tv_episodes_12
Columns: series
episode
title
directed_by
written_by
u_s_viewers_million
original_airdate
production_code

Question: Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers?
SQL: SELECT "written_by" FROM tv_episodes_12 WHERE "u_s_viewers_million" = '3.96'

Question: What is the original air date of episode 8?  Answer: Dec. 21, 2006
SQL: SELECT COUNT("original_airdate") FROM tv_episodes_12 WHERE "episode" = 8

Question: Who wrote the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
SQL: SELECT "written_by" FROM tv_episodes_12 WHERE "u_s_viewers_million" = '3.73'

Question: What is the production code of the episode "The Night Moves", which was directed by Patrick Norris?
SQL: SELECT "production_code" FROM tv_episodes_12 WHERE "directed_by" = 'Patrick Norris' AND "title" = '"The Night Moves"'

Question: Who wrote episode 11?
SQL: SELECT "written_by" FROM tv_episodes_12 WHERE "episode" = 11

Question: What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
SQL: SELECT "original_airdate" FROM tv_episodes_12 WHERE "u_s_viewers_million" = '3.73'