 Which team has the most ties with fewer than 4 losses and GA smaller than 20?
CREATE TABLE table_51248 (
    "Team" text,
    "Games Played" real,
    "Wins" real,
    "Losses" real,
    "Ties" real,
    "Goals For" real,
    "Goals Against" real
)
SELECT MAX("Ties") FROM table_51248 WHERE "Losses" < '4' AND "Goals Against" < '20'