CREATE TABLE "year_by_year" (
  "year" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "avg_attendance" text
);

Question: What regular season had an average attendance of 1,242?
SQL: SELECT "reg_season" FROM "year_by_year" WHERE "avg_attendance"='1,242';

Question: What league has an average attendance of 244?
SQL: SELECT "league" FROM "year_by_year" WHERE "avg_attendance"='244';