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_40 (attendance VARCHAR, opponents VARCHAR, result VARCHAR, venue VARCHAR)
  ### Question:
  How many were in attendance for a result of D, at H venue, and Arsenal as an opponent?
  ### Answer:
  SELECT attendance FROM table_name_40 WHERE result = "d" AND venue = "h" AND opponents = "arsenal"