Which team has the most ties with fewer than 4 losses and GA smaller than 20?
CREATE TABLE "final_standing" (
  "team" text,
  "games_played" real,
  "wins" real,
  "losses" real,
  "ties" real,
  "goals_for" real,
  "goals_against" real
);
SELECT MAX("ties") FROM "final_standing" WHERE "losses"<4 AND "goals_against"<20;