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_38 (population__2004_ INTEGER, moroccan_population INTEGER)
system
Which Population (2004) has a Moroccan population larger than 234506?
user
SELECT AVG(population__2004_) FROM table_name_38 WHERE moroccan_population > 234506
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_38 (population__2004_ INTEGER, moroccan_population INTEGER)<|im_end|>
<|im_start|>user
Which Population (2004) has a Moroccan population larger than 234506?<|im_end|>
