Table: cosby_show_ratings
Columns: season
season_premiere
season_finale
tv_season
ranking
households_in_millions

Question: Which TV season has a Season larger than 2, and a Ranking of #5?
SQL: SELECT "tv_season" FROM cosby_show_ratings WHERE "season" > 2 AND "ranking" = '#5'

Question: Which TV season has a Season smaller than 8, and a Household (in millions) of 15.92 (17.1 rating)?
SQL: SELECT "tv_season" FROM cosby_show_ratings WHERE "season" < 8 AND "households_in_millions" = '15.92 (17.1 rating)'

Question: Which TV season has Households (in millions) of 30.503 (34.9 rating)?
SQL: SELECT "tv_season" FROM cosby_show_ratings WHERE "households_in_millions" = '30.503 (34.9 rating)'