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

Question: Hiw many losses have 30 for the goals with points greater than 24?
SQL: SELECT COUNT("losses") FROM segunda_division_stats_17 WHERE "goals_for" = 30 AND "points" > 24

Question: How many draws have goals for less than 56, 10 as the postion, with goals against less than 45?
SQL: SELECT COUNT("draws") FROM segunda_division_stats_17 WHERE "goals_for" < 56 AND "position" = 10 AND "goals_against" < 45

Question: What is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11?
SQL: SELECT MAX("draws") FROM segunda_division_stats_17 WHERE "points" = 31 AND "wins" > 12 AND "goal_difference" < 11