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

Question: What was the position of the team that had a goal difference of less than -11 and played less than 38 games?
SQL: SELECT SUM("position") FROM segunda_division_1976_1977 WHERE "goal_difference" < -11 AND "played" < 38

Question: Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games?
SQL: SELECT MAX("played") FROM segunda_division_1976_1977 WHERE "goal_difference" < 27 AND "losses" > 13 AND "goals_for" < 42 AND "draws" = 6

Question: What was the number of wins with goals against of less than 32?
SQL: SELECT COUNT("wins") FROM segunda_division_1976_1977 WHERE "goals_against" < 32