CREATE TABLE "awards_and_nominations" (
  "year" real,
  "competition" text,
  "awards" text,
  "category" text,
  "result" text
);

Question: What year has Stacy as the category and award of Best Reality Star in Social Media?
SQL: SELECT MIN("year") FROM "awards_and_nominations" WHERE "category"='stacy' AND "awards"='best reality star in social media';

Question: What was the result in the year greaters than 2008 with an award of Jahat and had a category of Stacy?
SQL: SELECT "result" FROM "awards_and_nominations" WHERE "category"='stacy' AND "year">2008 AND "awards"='jahat';

Question: What award was in the year after 2009 with a competition of Digi Wwwow Awards?
SQL: SELECT "awards" FROM "awards_and_nominations" WHERE "year">2009 AND "competition"='digi wwwow awards';

Question: What was the year that had Anugerah Bintang Popular Berita Harian 23 as competition?
SQL: SELECT COUNT("year") FROM "awards_and_nominations" WHERE "competition"='anugerah bintang popular berita harian 23';