Question: What's the total losses that has more than 12 wins and 1017 against?
SQL: SELECT COUNT Losses FROM table WHERE Against = 1017 AND Wins > 12