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_45 (attendance INTEGER, record VARCHAR)
  ### Question:
  What was the average attendance when the record was 17-18?
  ### Answer:
  SELECT AVG(attendance) FROM table_name_45 WHERE record = "17-18"