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

Question: What is the sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against?
SQL: SELECT SUM("losses") FROM t_1894_ahac_season WHERE "team" = 'montreal hockey club' AND "goals_against" > 15

Question: What is the largest Goals For by a team that has more than 0 ties?
SQL: SELECT MAX("goals_for") FROM t_1894_ahac_season WHERE "ties" > 0

Question: How many ties do teams with 25 Goals For and more than 5 wins have?
SQL: SELECT SUM("ties") FROM t_1894_ahac_season WHERE "goals_for" = 25 AND "wins" > 5

Question: What is the lowest Goals Against by a team with more than 5 wins?
SQL: SELECT MIN("goals_against") FROM t_1894_ahac_season WHERE "wins" > 5

Question: What is the total number of ties a team with less than 3 losses have?
SQL: SELECT COUNT("ties") FROM t_1894_ahac_season WHERE "losses" < 3