CREATE TABLE "promotion_playoff" (
  "position" real,
  "club" text,
  "played" real,
  "points" real,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);

Question: What are the fewest points for goals fewer than 13?
SQL: SELECT MIN("points") FROM "promotion_playoff" WHERE "goals_for"<13;

Question: How many goals when more than 10 games played?
SQL: SELECT AVG("goals_for") FROM "promotion_playoff" WHERE "played">10;

Question: How many losses when goals against are more than 17, goal difference is more than 2 and points are more than 5?
SQL: SELECT AVG("losses") FROM "promotion_playoff" WHERE "goals_against">17 AND "goal_difference"<2 AND "points">5;

Question: How many draws when there are fewer than 6 wins and the goal difference is less than -15?
SQL: SELECT COUNT("draws") FROM "promotion_playoff" WHERE "wins"<6 AND "goal_difference"<-15;