What team was the away team when the tie no is 40?
CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_67 WHERE tie_no = "40"
<s>[INST] Write mssql query to answer the following question given the database schema. 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? [/INST] SELECT away_team FROM table_name_67 WHERE tie_no = "40" </s>