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 (total INTEGER, country VARCHAR, player VARCHAR)
system
Which Total has a Country of united states, and a Player of andy north?
user
SELECT AVG(total) FROM table_name_12 WHERE country = "united states" AND player = "andy north"
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 (total INTEGER, country VARCHAR, player VARCHAR)<|im_end|>
<|im_start|>user
Which Total has a Country of united states, and a Player of andy north?<|im_end|>
