CREATE TABLE "episodes_and_ratings" (
  "episode" real,
  "first_broadcast_denmark_dr1" text,
  "official_tns_gallup_ratings" real,
  "first_broadcast_uk_bbc_four" text,
  "official_barb_ratings" text
);

Question: When was the episode with a 999,000 BARB rating first aired in Denmark?
SQL: SELECT "first_broadcast_denmark_dr1" FROM "episodes_and_ratings" WHERE "official_barb_ratings"='999,000';

Question: What is the BARB ratings of episode 6?
SQL: SELECT "official_barb_ratings" FROM "episodes_and_ratings" WHERE "episode"=6;

Question: When was the episode with a 1,036,000 BARB rating first aired in Denmark?
SQL: SELECT "first_broadcast_denmark_dr1" FROM "episodes_and_ratings" WHERE "official_barb_ratings"='1,036,000';