CREATE TABLE "all_time_record" (
  "season" text,
  "team_name" text,
  "games" real,
  "losses" real,
  "points" real
);

Question: Who is the team that has played more than 18 games and has 6 losses?
SQL: SELECT "team_name" FROM "all_time_record" WHERE "losses"=6 AND "games">18;

Question: Which season did the Burnaby Lakers have less than 16 points and less than 18 losses?
SQL: SELECT "season" FROM "all_time_record" WHERE "points"<16 AND "losses"=18;

Question: Which team had more than 15 losses in 1988?
SQL: SELECT "team_name" FROM "all_time_record" WHERE "losses">15 AND "season"='1988';

Question: How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games?
SQL: SELECT SUM("losses") FROM "all_time_record" WHERE "team_name"='burnaby lakers' AND "points"=8 AND "season"='1998' AND "games"<25;