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

Question: What is the number of wins when the goals against is larger than 41, points is 29, and draws are larger than 5?
SQL: SELECT COUNT("wins") FROM segunda_division_1966_67 WHERE "goals_against" > 41 AND "points" = 29 AND "draws" > 5

Question: What is the number of draws when played is smaller than 30?
SQL: SELECT COUNT("draws") FROM segunda_division_1966_67 WHERE "played" < 30

Question: What is the number of losses when the goal difference was -8, and position is smaller than 10?
SQL: SELECT COUNT("losses") FROM segunda_division_1966_67 WHERE "goal_difference" = -8 AND "position" < 10

Question: What is the wins number when the points were smaller than 27, and goals against was 41?
SQL: SELECT SUM("wins") FROM segunda_division_1966_67 WHERE "points" < 27 AND "goals_against" = 41

Question: What is the losses when the goal difference is larger than 26?
SQL: SELECT MAX("losses") FROM segunda_division_1966_67 WHERE "goal_difference" > 26

Question: What is the goals for when played is larger than 30?
SQL: SELECT MIN("goals_for") FROM segunda_division_1966_67 WHERE "played" > 30