Table: tv_show_episode_8
Columns: no
title
directed_by
written_by
original_air_date
production_code
u_s_viewers_million

Question: Name the number of episodes that jim barnes wrote for 1.82 million viewers
SQL: SELECT COUNT("no") FROM tv_show_episode_8 WHERE "written_by" = 'Jim Barnes' AND "u_s_viewers_million" = '1.82'

Question: Name the least number for production code 3x6266
SQL: SELECT MIN("no") FROM tv_show_episode_8 WHERE "production_code" = '3X6266'