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_22 (tie_no INTEGER, date VARCHAR)
  ### Question:
  What is the average Tie no when the date is Birmingham City?
  ### Answer:
  SELECT AVG(tie_no) FROM table_name_22 WHERE date = "birmingham city"