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_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)
system
What is the least amount of appearances by new zealand when they scored 4 goals?
user
SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"
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_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)<|im_end|>
<|im_start|>user
What is the least amount of appearances by new zealand when they scored 4 goals?<|im_end|>
