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

Question: What is the total number of years that have divisions greater than 4?
SQL: SELECT COUNT("year") FROM "year_by_year" WHERE "division">4;

Question: What is the highest division for years earlier than 2011?
SQL: SELECT MAX("division") FROM "year_by_year" WHERE "year"<2011;