CREATE TABLE table_name_22 (tie_no INT, date VARCHAR)

What is the average Tie no when the date is Birmingham City?
SELECT AVG(tie_no) FROM table_name_22 WHERE date = "birmingham city"
SELECT AVG("tie_no") FROM "table_name_22" WHERE "birmingham city" = "date"