Who was the away team when the home team was Ramsgate?
CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_30 WHERE home_team = "ramsgate"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team when the home team was Ramsgate? [/INST] SELECT away_team FROM table_name_30 WHERE home_team = "ramsgate" </s>