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_12 (away_team VARCHAR, home_team VARCHAR)
system
What is the score of the away team when the home team is Essendon?
user
SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon"
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_12 (away_team VARCHAR, home_team VARCHAR)<|im_end|>
<|im_start|>user
What is the score of the away team when the home team is Essendon?<|im_end|>
