CREATE TABLE "year_by_year_regular_season_record" (
  "year" real,
  "league" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "points" real
);

Question: How many points have a loss less than 5, and 0 for draws?
SQL: SELECT COUNT("points") FROM "year_by_year_regular_season_record" WHERE "losses"<5 AND "draws"=0;

Question: What is the lowest points that has w-2 (w-league) as the league, and draws greater than 2?
SQL: SELECT MIN("points") FROM "year_by_year_regular_season_record" WHERE "league"='w-2 (w-league)' AND "draws">2;

Question: What is the lowest wins that has a year prior to 1999, with draws greater than 1, and points greater than 17?
SQL: SELECT MIN("wins") FROM "year_by_year_regular_season_record" WHERE "year"<1999 AND "draws">1 AND "points">17;

Question: How many losses have a year later than 2001?
SQL: SELECT SUM("losses") FROM "year_by_year_regular_season_record" WHERE "year">2001;