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?
CREATE TABLE "relegation" (
  "team" text,
  "average" real,
  "points" real,
  "played" real,
  "1989_90" text,
  "1990_91" text,
  "1991_1992" real
);
SELECT SUM("average") FROM "relegation" WHERE "played">38 AND "1990_91"='39' AND "1989_90"='34';