What is the Opponent before October 31 with a Record of 2-3-1 after Game 5?
CREATE TABLE table_9287 (
    "Game" real,
    "October" real,
    "Opponent" text,
    "Score" text,
    "Record" text
)
SELECT "Opponent" FROM table_9287 WHERE "October" < '31' AND "Game" > '5' AND "Record" = '2-3-1'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Opponent before October 31 with a Record of 2-3-1 after Game 5? ### Input: CREATE TABLE table_9287 (
    "Game" real,
    "October" real,
    "Opponent" text,
    "Score" text,
    "Record" text
) ### Response: SELECT "Opponent" FROM table_9287 WHERE "October" < '31' AND "Game" > '5' AND "Record" = '2-3-1'