CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR)

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