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_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)
system
how many times is there more than 0 draws and more than 0 losses?
user
SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0
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_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)<|im_end|>
<|im_start|>user
how many times is there more than 0 draws and more than 0 losses?<|im_end|>
