CREATE TABLE "relegation" (
  "team" text,
  "average" text,
  "points" real,
  "played" real,
  "1986_87" text,
  "1987_88" text,
  "1988_89" real
);

Question: how many points did the team that scored 27 points in the 1987-88 season score?
SQL: SELECT COUNT("played") FROM "relegation" WHERE "1987_88"='27';

Question: how many points  did the argentinos juniors team score during the 1986-87 season?
SQL: SELECT "1986_87" FROM "relegation" WHERE "team"='Argentinos Juniors';

Question: how many points did the team that scored 38 points in the 1986-87 season score during the  1988-89 season?
SQL: SELECT MIN("1988_89") FROM "relegation" WHERE "1986_87"='38';

Question: what is the maximum number of matches played by a team?
SQL: SELECT MAX("played") FROM "relegation";

Question: list the number of matches played by the teams that got an average of 1.079
SQL: SELECT "1986_87" FROM "relegation" WHERE "average"='1.079';