CREATE TABLE "season_by_season_results" (
  "season" text,
  "games" real,
  "lost" real,
  "points" real,
  "pct_pct" real,
  "goals_for" real,
  "goals_against" real,
  "playoffs" text
);

Question: What is the highest Pct %, when Goals Against is less than 229?
SQL: SELECT MAX("pct_pct") FROM "season_by_season_results" WHERE "goals_against"<229;

Question: What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?
SQL: SELECT AVG("goals_for") FROM "season_by_season_results" WHERE "playoffs"='lost in round 2' AND "games"<81;

Question: What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68?
SQL: SELECT SUM("goals_against") FROM "season_by_season_results" WHERE "lost"=45 AND "points">68;

Question: What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506?
SQL: SELECT AVG("lost") FROM "season_by_season_results" WHERE "games"<82 AND "points"<95 AND "pct_pct"<0.506;