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

Question: What's the average year with a rank less than 3?
SQL: SELECT AVG("year") FROM "accolades" WHERE "rank"<3;

Question: What country got accolades in 2002?
SQL: SELECT "country" FROM "accolades" WHERE "year"=2002;

Question: What's the accolade for the rank of 497?
SQL: SELECT "accolade" FROM "accolades" WHERE "rank"=497;

Question: What's the average year for the accolade 100 greatest singles of all time?
SQL: SELECT AVG("year") FROM "accolades" WHERE "accolade"='100 greatest singles of all time';