What is the average losses for 22 goals?
CREATE TABLE "preliminary_round" (
  "rank" real,
  "team" text,
  "played" real,
  "wins" real,
  "ties" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "points" real
);
SELECT AVG("losses") FROM "preliminary_round" WHERE "goals_for">22;