Table: tv_episodes_40
Columns: series
episode
title
directed_by
written_by
original_air_date
u_s_viewers_millions

Question: Which series # had 0.852 U.S. viewers(millions)?
SQL: SELECT MAX("series") FROM tv_episodes_40 WHERE "u_s_viewers_millions" = '0.852'

Question: Which original air date had 0.871 U.S. viewers (millions)?
SQL: SELECT "original_air_date" FROM tv_episodes_40 WHERE "u_s_viewers_millions" = '0.871'

Question: Which series # had 0.645 U.S. viewers(millions)?
SQL: SELECT MAX("series") FROM tv_episodes_40 WHERE "u_s_viewers_millions" = '0.645'

Question: Who was the writer for the episode entitled "dic pics"?
SQL: SELECT "written_by" FROM tv_episodes_40 WHERE "title" = '"Dic Pics"'