user: ### NOW ANSWER:
Question: what is the average losses when the wins is 9 and ties more than 0?
Columns: ['Team', 'Games Played', 'Wins', 'Losses', 'Ties', 'Goals For', 'Goals Against']
Types: ['text', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: ['Ottawa Hockey Club', 10.0, 9.0, 1.0, 0.0, 90.0, 42.0]
SQL:

assistant: SELECT AVG("Losses") FROM "Table" WHERE "Wins" = 9.0 AND "Ties" > 0.0;