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: What was the average number of "goals for", scored in the club Real Oviedo that had a "goal difference" lower than -16 and fewer than 9 wins?
SQL: SELECT AVG("goals_for") FROM "final_table" WHERE "goal_difference"<-16 AND "club"='real oviedo' AND "wins"<9;

Question: How many people played at the club that had a "goal difference" of -8 and a position lower than 12?
SQL: SELECT SUM("played") FROM "final_table" WHERE "goal_difference"=-8 AND "position"<12;

Question: How many "goals against" were scored at the club that had a "goal difference" of 0, 12 wins, and more than 44 goals?
SQL: SELECT COUNT("goals_against") FROM "final_table" WHERE "goal_difference"=0 AND "wins"=12 AND "goals_for">44;

Question: What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?
SQL: SELECT MIN("goals_for") FROM "final_table" WHERE "wins"=18 AND "goals_against"<38;