user: ### NOW ANSWER:
Question: what was the attendance at the Home venue with result W 3-1?
Columns: ['Date', 'Opponent', 'Venue', 'Result', 'Attendance']
Types: ['text', 'text', 'text', 'text', 'real']
Sample row: ['11 August', 'Rochdale', 'Home', 'W 3-0', 5575.0]
SQL:

assistant: SELECT MAX("Attendance") FROM "Table" WHERE "Venue" = 'Home' AND "Result" = 'W 3-1';