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

Question: Which Position has 24 Goals against, and a Played smaller than 30?
SQL: SELECT MAX("position") FROM segunda_division_stats_25 WHERE "goals_against" = 24 AND "played" < 30

Question: Which Points have a Club of cf calvo sotelo, and a Goal Difference larger than -3?
SQL: SELECT MAX("points") FROM segunda_division_stats_25 WHERE "club" = 'cf calvo sotelo' AND "goal_difference" > -3

Question: Which Draws have a Position of 16, and less than 58 Goals against?
SQL: SELECT MIN("draws") FROM segunda_division_stats_25 WHERE "position" = 16 AND "goals_against" < 58

Question: Which Losses have Draws larger than 6, and a Club of cd mestalla, and Goals against larger than 44?
SQL: SELECT MIN("losses") FROM segunda_division_stats_25 WHERE "draws" > 6 AND "club" = 'cd mestalla' AND "goals_against" > 44

Question: How many Goals against have Goals for smaller than 33, and Points smaller than 16?
SQL: SELECT SUM("goals_against") FROM segunda_division_stats_25 WHERE "goals_for" < 33 AND "points" < 16