CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" real
);

Question: What is the highest Year, when Rank is less than 28, and when Accolade is "The 100 greatest metal albums of the decade"?
SQL: SELECT MAX("year") FROM "accolades" WHERE "rank"<28 AND "accolade"='the 100 greatest metal albums of the decade';

Question: What is Accolade, when Year is less than 2009, and when Country is Germany?
SQL: SELECT "accolade" FROM "accolades" WHERE "year"<2009 AND "country"='germany';

Question: What is the highest Rank, when Publication is Dagsavisen, and when Year is less than 2005?
SQL: SELECT MAX("rank") FROM "accolades" WHERE "publication"='dagsavisen' AND "year"<2005;