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_40 (total INTEGER, gymnast VARCHAR, b_score VARCHAR)
system
What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?
user
SELECT SUM(total) FROM table_name_40 WHERE gymnast = "robert stanescu ( rou )" AND b_score > 8.75
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_40 (total INTEGER, gymnast VARCHAR, b_score VARCHAR)<|im_end|>
<|im_start|>user
What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?<|im_end|>
