CREATE TABLE "releases" (
  "year" real,
  "artist" text,
  "title" text,
  "format" text,
  "type" text
);

Question: Who was the artist before 2010 with a Promotional 7" as a format?
SQL: SELECT "artist" FROM "releases" WHERE "year"<2010 AND "format"='promotional 7\"';

Question: Who was the artist after 2012 with CD, LP as the format?
SQL: SELECT "artist" FROM "releases" WHERE "year">2012 AND "format"='cd, lp';

Question: What year had a title of Die Shaolin Affen EP and EP as the type?
SQL: SELECT AVG("year") FROM "releases" WHERE "type"='ep' AND "title"='die shaolin affen ep';

Question: What is the title of the Misfits with a CD format?
SQL: SELECT "title" FROM "releases" WHERE "format"='cd' AND "artist"='misfits';