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_49 (loses INTEGER, draws VARCHAR, points VARCHAR)
system
What is the highest number of losses for teams with under 3 draws and 51 points?
user
SELECT MAX(loses) FROM table_name_49 WHERE draws < 3 AND points = 51
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_49 (loses INTEGER, draws VARCHAR, points VARCHAR)<|im_end|>
<|im_start|>user
What is the highest number of losses for teams with under 3 draws and 51 points?<|im_end|>
