Question: What are all the production codes of episodes written by Michael G. Moye?
SQL: SELECT "Production code" FROM "1-2226817-8" WHERE "Written by" = 'Michael G. Moye';

Question: Who is the writer of episode 13?
SQL: SELECT COUNT("Written by") FROM "1-2226817-8" WHERE "No. in season" = 13.0;

Question: Which series number has the production code 7.07?
SQL: SELECT COUNT("No. in series") FROM "1-2226817-8" WHERE "Production code" = '7.07';

Question: How many seasons have the production code 7.01 for an episode? 
SQL: SELECT MAX("No. in season") FROM "1-2226817-8" WHERE "Production code" = '7.01';

Question: How many episodes in the series are from season 12?
SQL: SELECT "No. in series" FROM "1-2226817-8" WHERE "No. in season" = 12.0;