CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1989_90" text,
  "1990_91" text,
  "1991_1992" real
);

Question: What is the total number of averages where the played is more than 38, the 1990-91 is 39, and the 1989-90 is 34?
SQL: SELECT SUM("average") FROM "relegation" WHERE "played">38 AND "1990_91"='39' AND "1989_90"='34';

Question: Which 1990-91 has an average number of 1.035?
SQL: SELECT "1990_91" FROM "relegation" WHERE "average"=1.035;

Question: Which team has a 1990-91 number of 39 and a 1989-90 number of 34?
SQL: SELECT "team" FROM "relegation" WHERE "1990_91"='39' AND "1989_90"='34';

Question: Which played number has an average of 1.026 and a 1989-90 that is 36?
SQL: SELECT "played" FROM "relegation" WHERE "average">1.026 AND "1989_90"='36';