What is the highest average of goals less than 45 for team Real Sociedad?
CREATE TABLE "for_top_goalkeepers" (
  "goalkeeper" text,
  "goals" real,
  "matches" real,
  "average" real,
  "team" text
);
SELECT MAX("average") FROM "for_top_goalkeepers" WHERE "goals"<45 AND "team"='real sociedad';