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

Question: Name the most goals with losses less than 15 and position more than 8 with points of 42+4
SQL: SELECT MAX("goals_for") FROM "final_table" WHERE "losses"<15 AND "position">8 AND "points"='42+4';

Question: Name the average goals against for draws of 8 and wins more than 22 with losses less than 12
SQL: SELECT AVG("goals_against") FROM "final_table" WHERE "draws"=8 AND "losses"<12 AND "wins">22;

Question: Name the least wins for goal difference being less than -20 with position less than 20 and goals for of 35
SQL: SELECT MIN("wins") FROM "final_table" WHERE "position"<20 AND "goals_for"=35 AND "goal_difference"<-20;

Question: Name the average losses for draws larger than 6 and played more than 38
SQL: SELECT AVG("losses") FROM "final_table" WHERE "draws">6 AND "played">38;

Question: Name the least goals against for played more than 38
SQL: SELECT MIN("goals_against") FROM "final_table" WHERE "played">38;