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_38 (league VARCHAR, number VARCHAR, record VARCHAR)
system
What league has a number less than 122, and least wins as the record?
user
SELECT league FROM table_name_38 WHERE number < 122 AND record = "least wins"
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_38 (league VARCHAR, number VARCHAR, record VARCHAR)<|im_end|>
<|im_start|>user
What league has a number less than 122, and least wins as the record?<|im_end|>
