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, rank VARCHAR, bronze VARCHAR)
system
What is the sum of Total, when Rank is 8, and when Bronze is less than 1?
user
SELECT SUM(total) FROM table_name_95 WHERE rank = "8" AND bronze < 1
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, rank VARCHAR, bronze VARCHAR)<|im_end|>
<|im_start|>user
What is the sum of Total, when Rank is 8, and when Bronze is less than 1?<|im_end|>
