Table: t_1906_echa_season_teams
Columns: team
games_played
wins
losses
ties
goals_for
goals_against

Question: what is the least number of goals for when the goals against is 70 and the ties less than 0?
SQL: SELECT MIN("goals_for") FROM t_1906_echa_season_teams WHERE "goals_against" = 70 AND "ties" < 0

Question: what is the average losses when the wins is 9 and ties more than 0?
SQL: SELECT AVG("losses") FROM t_1906_echa_season_teams WHERE "wins" = 9 AND "ties" > 0

Question: what is the lowest number of ties when the losses is 7 and games played is less than 10?
SQL: SELECT MIN("ties") FROM t_1906_echa_season_teams WHERE "losses" = 7 AND "games_played" < 10

Question: what is the sum of games played when the losses is less than 7, the wins is 6 and the goals for is more than 76?
SQL: SELECT SUM("games_played") FROM t_1906_echa_season_teams WHERE "losses" < 7 AND "wins" = 6 AND "goals_for" > 76

Question: what is the total number of games played when the goals for is less than 30?
SQL: SELECT COUNT("games_played") FROM t_1906_echa_season_teams WHERE "goals_for" < 30

Question: what is the sum of wins for the ottawa hockey club when the games played is less than 10?
SQL: SELECT SUM("wins") FROM t_1906_echa_season_teams WHERE "team" = 'ottawa hockey club' AND "games_played" < 10