CREATE TABLE "awards_and_honors" (
  "year" real,
  "award" text,
  "category" text,
  "nominated_work" text,
  "result" text
);

Question: How many years had the best actress in a Revival category?
SQL: SELECT COUNT("year") FROM "awards_and_honors" WHERE "category"='best actress in a revival';

Question: What categories had a Nominated work of yerma before 1992?
SQL: SELECT "category" FROM "awards_and_honors" WHERE "year"<1992 AND "nominated_work"='yerma';