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_15318779_1 (won INTEGER, team VARCHAR)
system
How many games did Palmeiras win?
user
SELECT MAX(won) FROM table_15318779_1 WHERE team = "Palmeiras"
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_15318779_1 (won INTEGER, team VARCHAR)<|im_end|>
<|im_start|>user
How many games did Palmeiras win?<|im_end|>
