CREATE TABLE "fox_nbc_era_2001_2006" (
  "year" real,
  "network" text,
  "lap_by_lap" text,
  "s_color_commentator" text,
  "pre_race_host" text,
  "ratings" text
);

Question: When the Year is smaller than 2004, and Mike Joy is the Lap-by-lap, what are the Ratings?
SQL: SELECT "ratings" FROM "fox_nbc_era_2001_2006" WHERE "year"<2004 AND "lap_by_lap"='mike joy';

Question: Which Network has Bill Weber for the Lap-by-lap?
SQL: SELECT "network" FROM "fox_nbc_era_2001_2006" WHERE "lap_by_lap"='bill weber';

Question: Who was the Pre-Race Host when Mike Joy was the Lap-by-lap in the Year 2005?
SQL: SELECT "pre_race_host" FROM "fox_nbc_era_2001_2006" WHERE "lap_by_lap"='mike joy' AND "year"=2005;

Question: How many Years have Ratings of 10.9/23?
SQL: SELECT COUNT("year") FROM "fox_nbc_era_2001_2006" WHERE "ratings"='10.9/23';