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

Question: For the team with 39+1 points and fewer than 7 draws, how many wins were scored?
SQL: SELECT COUNT("wins") FROM segunda_division_stats_12 WHERE "points" = '39+1' AND "draws" < 7

Question: For a goal difference greater than 3 and fewer than 8 losses, what is the most draws scored?
SQL: SELECT MAX("draws") FROM segunda_division_stats_12 WHERE "goal_difference" > 3 AND "losses" < 8

Question: Which club had fewer than 29 goals against and a difference smaller than 26?
SQL: SELECT "club" FROM segunda_division_stats_12 WHERE "goals_against" < 29 AND "goal_difference" < 26