CREATE TABLE "home_attendances" (
  "season" text,
  "high" real,
  "average" real,
  "total" real,
  "league_ranking" text
);

Question: What's the average that has a total more than 263,648, a high of 31,564, and ranking of 1st?
SQL: SELECT SUM("average") FROM "home_attendances" WHERE "league_ranking"='1st' AND "total">'263,648' AND "high"='31,564';

Question: What's the total of the 2012-13 season when they're ranked 1st, a high more than 31,884 and an average more than 15,234?
SQL: SELECT "total" FROM "home_attendances" WHERE "league_ranking"='1st' AND "high">'31,884' AND "average">'15,234' AND "season"='2012-13 season';