CREATE TABLE "indoor_sports" (
  "league" text,
  "sport" text,
  "season" text,
  "total_attendance" text,
  "average_attendance" real
);

Question: What was the highest average attendance in the 2009 season?
SQL: SELECT MAX("average_attendance") FROM "indoor_sports" WHERE "season"='2009';

Question: What's the total attendance in rink hockey when the average attendance was smaller than 4850?
SQL: SELECT "total_attendance" FROM "indoor_sports" WHERE "average_attendance"<4850 AND "sport"='rink hockey';

Question: What's the average attendance of the league with a total attendance of 2268508?
SQL: SELECT "average_attendance" FROM "indoor_sports" WHERE "total_attendance"='2268508';