You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
system
Who was the home team that played against Armthorpe Welfare?
user
SELECT home_team FROM table_name_51 WHERE away_team = "armthorpe welfare"
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)<|im_end|>
<|im_start|>user
Who was the home team that played against Armthorpe Welfare?<|im_end|>
