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_34 (total INTEGER, gold VARCHAR, silver VARCHAR)
system
What nation had more than 97 Gold Medals and fewer than 332 Silver Medals?
user
SELECT SUM(total) FROM table_name_34 WHERE gold > 97 AND silver < 332
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_34 (total INTEGER, gold VARCHAR, silver VARCHAR)<|im_end|>
<|im_start|>user
What nation had more than 97 Gold Medals and fewer than 332 Silver Medals?<|im_end|>
