CREATE TABLE "1978_1999" (
  "year" real,
  "bb_hot" text,
  "bb_cw" text,
  "bb_ac" text,
  "cb_cw" text
);

Question: What was the CB CW for the year of 1982?
SQL: SELECT "cb_cw" FROM "1978_1999" WHERE "year"=1982;

Question: What is the most current year that had a BB CW of 78?
SQL: SELECT MAX("year") FROM "1978_1999" WHERE "bb_cw"='78';