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_70 (total INTEGER, nation VARCHAR, gold VARCHAR)
system
The nation of denmark has what average total nad more than 0 gold?
user
SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 0
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_70 (total INTEGER, nation VARCHAR, gold VARCHAR)<|im_end|>
<|im_start|>user
The nation of denmark has what average total nad more than 0 gold?<|im_end|>
