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

Question: What year has american music awards?
SQL: SELECT COUNT("year") FROM "awards_and_nominations" WHERE "award"='american music awards';

Question: What was album of the year after 2009?
SQL: SELECT "result" FROM "awards_and_nominations" WHERE "year">2009 AND "category"='album of the year';

Question: How many years had ozone awards?
SQL: SELECT SUM("year") FROM "awards_and_nominations" WHERE "award"='ozone awards';