CREATE TABLE "year_by_year" (
  "the_year" real,
  "division" real,
  "league" text,
  "regular_season" text,
  "playoffs" text
);

Question: Which Year has a Regular Season of 7th?
SQL: SELECT MAX("the_year") FROM "year_by_year" WHERE "regular_season"='7th';

Question: Which Year has a Division larger than 3?
SQL: SELECT MAX("the_year") FROM "year_by_year" WHERE "division">3;

Question: Which Year did not qualify for Playoffs, and had a Division smaller than 3?
SQL: SELECT SUM("the_year") FROM "year_by_year" WHERE "playoffs"='did not qualify' AND "division"<3;

Question: Which league did not qualify for the Playoffs, and had a Year larger than 2008?
SQL: SELECT "league" FROM "year_by_year" WHERE "playoffs"='did not qualify' AND "the_year">2008;