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