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_95 (total INTEGER, silver VARCHAR, gold VARCHAR)
system
What's the total when the gold is less than 0 and silver is less than 1?
user
SELECT AVG(total) FROM table_name_95 WHERE silver = 1 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_95 (total INTEGER, silver VARCHAR, gold VARCHAR)<|im_end|>
<|im_start|>user
What's the total when the gold is less than 0 and silver is less than 1?<|im_end|>
