CREATE TABLE "season_by_season_results" (
  "season" text,
  "league" text,
  "games" real,
  "lost" real,
  "tied" real,
  "points" real,
  "winning_pct" real,
  "goals_for" real,
  "goals_against" real,
  "standing" text
);

Question: What is the lowest win percentage for teams with more than 23 losses and more than 386 goals for?
SQL: SELECT MIN("winning_pct") FROM "season_by_season_results" WHERE "lost">23 AND "goals_for">386;

Question: What is the total number of losses for teams with less than 5 ties and more than 330 goals for?
SQL: SELECT COUNT("lost") FROM "season_by_season_results" WHERE "tied"<5 AND "goals_for">330;