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_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)
system
What's the total number that had a rank larger than 17 and a gold greater than 0?
user
SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 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_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)<|im_end|>
<|im_start|>user
What's the total number that had a rank larger than 17 and a gold greater than 0?<|im_end|>
