CREATE TABLE "group_ii" (
  "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 is the total number of losses for entries with 15 wins and a position larger than 3?
SQL: SELECT SUM("losses") FROM "group_ii" WHERE "wins"=15 AND "position">3;

Question: What is the goal difference for entries with more than 6 draws, a position lower than 12, and fewer than 9 wins?
SQL: SELECT "goal_difference" FROM "group_ii" WHERE "draws">6 AND "position">12 AND "wins"<9;

Question: What is the position of club Melilla CF, with a goal difference smaller than -10?
SQL: SELECT SUM("position") FROM "group_ii" WHERE "club"='melilla cf' AND "goal_difference"<-10;

Question: What is the sum of goals against for positions higher than 14, with fewer than 30 played?
SQL: SELECT SUM("goals_against") FROM "group_ii" WHERE "position">14 AND "played"<30;

Question: What is the average number of wins for entries with more than 32 points, a goal difference smaller than 23, and a Goals against of 36, and a Played smaller than 30?
SQL: SELECT AVG("wins") FROM "group_ii" WHERE "points">32 AND "goal_difference"<23 AND "goals_against"=36 AND "played"<30;