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

Question: How many goals against were scored when the points were smaller than 13, the wins were smaller than 3, and the goals for were smaller than 15?
SQL: SELECT SUM("goals_against") FROM segunda_division_standings WHERE "points" < 13 AND "wins" < 3 AND "goals_for" < 15

Question: What was the highest position when the wins were higher than 4 and the points were lower than 11?
SQL: SELECT MAX("position") FROM segunda_division_standings WHERE "wins" = 4 AND "points" < 11

Question: When the goals against were higher than 30, what was the average number of draws?
SQL: SELECT AVG("draws") FROM segunda_division_standings WHERE "goals_against" > 30

Question: How many wins happened when there were fewer than 2 draws?
SQL: SELECT SUM("wins") FROM segunda_division_standings WHERE "draws" < 2

Question: How many goals against were scored when the position was higher than 1 and the played was higher than 10?
SQL: SELECT COUNT("goals_against") FROM segunda_division_standings WHERE "position" > 1 AND "played" > 10