CREATE TABLE "night_series_winners_1977_1987" (
  "year" real,
  "winners" text,
  "grand_finalist" text,
  "scores" text,
  "venue" text,
  "crowd" real,
  "margin" real,
  "season_result" text
);

Question: What's the highest year than hawthorn won with a season result of preliminary finalist and a crowd smaller than 27,407?
SQL: SELECT MAX("year") FROM "night_series_winners_1977_1987" WHERE "winners"='hawthorn' AND "season_result"='preliminary finalist' AND "crowd"<'27,407';

Question: What scores did grand finalist hawthorn have?
SQL: SELECT "scores" FROM "night_series_winners_1977_1987" WHERE "grand_finalist"='hawthorn';

Question: What grand finalist had a year after 1979, a margin smaller than 30, and winners of essendon?
SQL: SELECT "grand_finalist" FROM "night_series_winners_1977_1987" WHERE "year">1979 AND "margin"<30 AND "winners"='essendon';