CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR(255), result VARCHAR(255))
what was the attendance at the home venue with result w 3-1?
    
SQL: SELECT MAX(attendance) FROM table_name_99 WHERE venue = "home" AND result = "w 3-1"