What is the average Points when the Points Against is 594, and Losses is more than 3?
CREATE TABLE "standings" (
  "club" text,
  "wins" real,
  "losses" real,
  "points_for" real,
  "points_against" real,
  "percentage" real,
  "points" real
);
SELECT AVG("points") FROM "standings" WHERE "points_against"=594 AND "losses">3;