What is the average Tie no when the date is Birmingham City?
CREATE TABLE table_name_22 (tie_no INTEGER, date VARCHAR)
SELECT AVG(tie_no) FROM table_name_22 WHERE date = "birmingham city"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tie_no INTEGER, date VARCHAR) Question: What is the average Tie no when the date is Birmingham City? [/INST] SELECT AVG(tie_no) FROM table_name_22 WHERE date = "birmingham city" </s>