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_18 (draws VARCHAR, losses VARCHAR, hampden_fl VARCHAR)
system
Which Draws have Losses larger than 8, and a Hampden FL of terang-mortlake?
user
SELECT draws FROM table_name_18 WHERE losses > 8 AND hampden_fl = "terang-mortlake"
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_18 (draws VARCHAR, losses VARCHAR, hampden_fl VARCHAR)<|im_end|>
<|im_start|>user
Which Draws have Losses larger than 8, and a Hampden FL of terang-mortlake?<|im_end|>
