CREATE TABLE "table_key" (
  "mlb_season" text,
  "team_season" text,
  "league" text,
  "division" text,
  "finish" text,
  "wins" text,
  "losses" text,
  "win_pct" text
);

Question: Which MLB division has a win record of 76?
SQL: SELECT "division" FROM "table_key" WHERE "wins"='76';

Question: What was the final rank of the Brewers in 1980?
SQL: SELECT "finish" FROM "table_key" WHERE "team_season"='1980';

Question: What was the final rank of the Brewers when they achieved a win percentage of .585?
SQL: SELECT "finish" FROM "table_key" WHERE "win_pct"='.585';

Question: Which division were the Brewers a part of in the 1987 season?
SQL: SELECT "division" FROM "table_key" WHERE "team_season"='1987';

Question: Which division of the Brewers had a 5th place ranking and a loss record of 87?
SQL: SELECT "division" FROM "table_key" WHERE "finish"='5th' AND "losses"='87';