CREATE TABLE "group_i" (
  "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 was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?
SQL: SELECT MAX("goals_for") FROM "group_i" WHERE "losses"<16 AND "wins"<11 AND "goal_difference">-9;

Question: What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?
SQL: SELECT MAX("wins") FROM "group_i" WHERE "goals_against"<51 AND "points">39 AND "goal_difference"<13;

Question: What is the lowest wins entry that has a goal difference less than 33, position higher than 13, and 42 goals?
SQL: SELECT MIN("wins") FROM "group_i" WHERE "goal_difference"<33 AND "position"<13 AND "goals_for"=42;

Question: What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses?
SQL: SELECT COUNT("goals_for") FROM "group_i" WHERE "draws">7 AND "wins">8 AND "losses">5;