CREATE TABLE table_9287 ("Game" FLOAT, "October" FLOAT, "Opponent" CLOB, "Score" CLOB, "Record" CLOB)

What is the Opponent before October 31 with a Record of 2-3-1 after Game 5?
SELECT "Opponent" FROM table_9287 WHERE "October" < '31' AND "Game" > '5' AND "Record" = '2-3-1'
SELECT "Opponent" FROM "table_9287" WHERE "Game" > '5' AND "October" < '31' AND "Record" = '2-3-1'