Question: What is the Opponent before October 31 with a Record of 2-3-1 after Game 5?
SQL: SELECT Opponent FROM table WHERE October < 31 AND Game > 5 AND Record = 2-3-1