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

Question: What is the number of points when the played is less than 30?
SQL: SELECT COUNT("points") FROM segunda_division_stats_15 WHERE "played" < 30

Question: What is the number of goals when the goal difference was less than 43, and the position less than 3?
SQL: SELECT SUM("goals_for") FROM segunda_division_stats_15 WHERE "goal_difference" < 43 AND "position" < 3

Question: What is the position when the points were less than 34, draws of 7, and a Club of sd eibar?
SQL: SELECT AVG("position") FROM segunda_division_stats_15 WHERE "points" < 34 AND "draws" = 7 AND "club" = 'sd eibar'

Question: What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14?
SQL: SELECT "goals_against" FROM segunda_division_stats_15 WHERE "goal_difference" < 43 AND "wins" < 13 AND "losses" > 14

Question: What is the highest Goal Difference when the goals against were less than 76, and the position larger than 5, and a Played larger than 30?
SQL: SELECT MAX("goal_difference") FROM segunda_division_stats_15 WHERE "goals_against" < 76 AND "position" > 5 AND "played" > 30