Table schema:
CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR)

Question: What team was the away team when the tie no is 40?
SQL: SELECT away_team FROM table_name_67 WHERE tie_no = "40"