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_10128185_2 (wales INTEGER, northern_england VARCHAR)
system
How many votes did Wales cast when Northern England cast 6?
user
SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england = 6
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_10128185_2 (wales INTEGER, northern_england VARCHAR)<|im_end|>
<|im_start|>user
How many votes did Wales cast when Northern England cast 6?<|im_end|>
