Table: show_episodes
Columns: no_in_series
title
directed_by
written_by
original_air_date
production_code
u_s_viewers_millions

Question: Who wrote the episode with production code 1AJN05?
SQL: SELECT "written_by" FROM show_episodes WHERE "production_code" = '1AJN05'

Question: How many different series numbers are there for the episode seen by 7.84 million people in the US?
SQL: SELECT COUNT("no_in_series") FROM show_episodes WHERE "u_s_viewers_millions" = '7.84'

Question: How many millions of people in the US saw the episode titled "Francine's Flashback"?
SQL: SELECT "u_s_viewers_millions" FROM show_episodes WHERE "title" = '"Francine''s Flashback"'

Question: What's the series number of the episode written by Dan Vebber?
SQL: SELECT MAX("no_in_series") FROM show_episodes WHERE "written_by" = 'Dan Vebber'

Question: How many different titles are there of episodes that have been seen by 7.84 million people in the US/
SQL: SELECT COUNT("title") FROM show_episodes WHERE "u_s_viewers_millions" = '7.84'

Question: When did 6.09 million people in the US see the original airing of an episode of the show?
SQL: SELECT "original_air_date" FROM show_episodes WHERE "u_s_viewers_millions" = '6.09'