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

Question: What is the average draws with less than 3 wins and more than 5 points?
SQL: SELECT AVG("draws") FROM "promotion_playoff" WHERE "wins"<3 AND "points">5;

Question: What is the average number of goals with more than 9 points, less than 14 goals against, and a goal difference less than 17?
SQL: SELECT AVG("goals_for") FROM "promotion_playoff" WHERE "points">9 AND "goals_against"<14 AND "goal_difference"<17;

Question: What is the average number of wins with less than 10 goals?
SQL: SELECT AVG("wins") FROM "promotion_playoff" WHERE "goals_against"<10;

Question: What is the lowest position with a -22 goal difference and more than 5 points?
SQL: SELECT MIN("position") FROM "promotion_playoff" WHERE "goal_difference"=-22 AND "points">5;