text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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"