What is the Opponent before October 31 with a Record of 2-3-1 after Game 5?
CREATE TABLE table_name_52 (
    opponent VARCHAR,
    record VARCHAR,
    october VARCHAR,
    game VARCHAR
)
SELECT opponent FROM table_name_52 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_name_52 (
    opponent VARCHAR,
    record VARCHAR,
    october VARCHAR,
    game VARCHAR
) ### Response: SELECT opponent FROM table_name_52 WHERE october < 31 AND game > 5 AND record = "2-3-1"