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_65 (attendance INTEGER, venue VARCHAR, date VARCHAR)
  ### Question:
  What is the average Attendance, when Venue is "A", and when Date is "5 January 2005"?
  ### Answer:
  SELECT AVG(attendance) FROM table_name_65 WHERE venue = "a" AND date = "5 january 2005"