Table: segunda_division_stats_2
Columns: position
club
played
points
wins
draws
losses
goals_for
goals_against
goal_difference

Question: How many wins did SD Eibar, which played less than 38 games, have?
SQL: SELECT SUM("wins") FROM segunda_division_stats_2 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 segunda_division_stats_2 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 segunda_division_stats_2 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 segunda_division_stats_2 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 segunda_division_stats_2 WHERE "goals_against" = 61 AND "draws" < 11