CREATE TABLE "accolades" (
  "year" real,
  "award" text,
  "category" text,
  "title" text,
  "result" text
);

Question: What year was Black Swan up for the Gotham Awards?
SQL: SELECT COUNT("year") FROM "accolades" WHERE "title"='black swan' AND "award"='gotham awards';

Question: What is the earliest year in which Requiem for a Dream was in the running for Best Director?
SQL: SELECT MIN("year") FROM "accolades" WHERE "title"='requiem for a dream' AND "category"='best director';