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_4 (Id VARCHAR)
system
What is the 2009 average when the 2007 average is more than 0,18?
user
SELECT AVG(2009) FROM table_name_4 WHERE 2007 > 0 OFFSET 18
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_4 (Id VARCHAR)<|im_end|>
<|im_start|>user
What is the 2009 average when the 2007 average is more than 0,18?<|im_end|>
