CREATE TABLE "regular_season_attendance" (
  "year" real,
  "average" text,
  "high" real,
  "sellouts" real,
  "total_for_year" real,
  "wnba_game_average" real
);

Question: What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year?
SQL: SELECT MAX("wnba_game_average") FROM "regular_season_attendance" WHERE "average"='9,290 (4th)' AND "total_for_year"<'157,934';

Question: How many years in all was less than 105,005 the total for the year?
SQL: SELECT COUNT("year") FROM "regular_season_attendance" WHERE "total_for_year"<'105,005';

Question: What is the total for year average that less than 7,742 is the WNBA game average, and 7,625 (10th) is the average, and before the year 1999?
SQL: SELECT AVG("total_for_year") FROM "regular_season_attendance" WHERE "wnba_game_average"<'7,742' AND "average"='7,625 (10th)' AND "year"<1999;

Question: What is the total of the year that more than 13,142 is the high, and 10,387 (2nd) is the average, and there was less than 0 sellouts?
SQL: SELECT SUM("year") FROM "regular_season_attendance" WHERE "high">'13,142' AND "average"='10,387 (2nd)' AND "sellouts"<0;

Question: What is the maximum sellouts for the 2008 year, with less than 161,369 total for year?
SQL: SELECT MAX("sellouts") FROM "regular_season_attendance" WHERE "year"=2008 AND "total_for_year"<'161,369';