human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Tie no, Home team, Score, Away team, Date
###Question: What is the average Tie no when the date is Birmingham City?
gpt
SELECT AVG Tie no FROM table WHERE Date = birmingham city