CREATE TABLE "release_history" (
  "region" text,
  "date" real,
  "label" text,
  "format" text,
  "catalog" text
);

Question: What is the format for the album under the label, luaka bop, that had a catalog number of 3645 and dated after 1981?
SQL: SELECT "format" FROM "release_history" WHERE "catalog"='3645' AND "date">1981 AND "label"='luaka bop';

Question: what is the earliest date for the album that had a catalog number of 3645, was formatted as a cd and was under the luaka bop label?
SQL: SELECT MIN("date") FROM "release_history" WHERE "catalog"='3645' AND "format"='cd' AND "label"='luaka bop';

Question: Under what label was the album with the catalog of 3645 and came out later than 1987?
SQL: SELECT "label" FROM "release_history" WHERE "catalog"='3645' AND "date">1987;