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_13 (wins INTEGER, events VARCHAR)
system
What is the fewest wins for Thomas in events he had entered exactly 9 times?
user
SELECT MIN(wins) FROM table_name_13 WHERE events = 9
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_13 (wins INTEGER, events VARCHAR)<|im_end|>
<|im_start|>user
What is the fewest wins for Thomas in events he had entered exactly 9 times?<|im_end|>
