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

Question: How many wins did SD Eibar, which played less than 38 games, have?
SQL: SELECT SUM("wins") FROM "final_table" WHERE "club"='sd eibar' AND "played"<38;

Question: What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have?
SQL: SELECT MAX("draws") FROM "final_table" WHERE "wins"<20 AND "points"<41 AND "goals_for"<27;

Question: What is the lowest goal difference a club with more than 13 wins, less than 8 losses, and less than 11 draws has?
SQL: SELECT MIN("goal_difference") FROM "final_table" WHERE "wins">13 AND "losses"<8 AND "draws"<11;

Question: What is the number of played games a club with more than 71 points and less than 8 losses has?
SQL: SELECT SUM("played") FROM "final_table" WHERE "points">71 AND "losses"<8;

Question: What is the lowest goal difference a club with 61 goals against and less than 11 draws has?
SQL: SELECT MIN("goal_difference") FROM "final_table" WHERE "goals_against"=61 AND "draws"<11;