When the home team is richmond, what was the away team playing?
CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_3 WHERE home_team = "richmond"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR) Question: When the home team is richmond, what was the away team playing? [/INST] SELECT away_team FROM table_name_3 WHERE home_team = "richmond" </s>