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 singer (Citizenship VARCHAR, Net_Worth_Millions INTEGER)
system
Show different citizenships and the maximum net worth of singers of each citizenship.
user
SELECT Citizenship, MAX(Net_Worth_Millions) FROM singer GROUP BY Citizenship
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 singer (Citizenship VARCHAR, Net_Worth_Millions INTEGER)<|im_end|>
<|im_start|>user
Show different citizenships and the maximum net worth of singers of each citizenship.<|im_end|>
