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_36 (year INTEGER, notes VARCHAR)
system
What is the average of all the years when the notes are “electronics brand?”
user
SELECT AVG(year) FROM table_name_36 WHERE notes = "electronics brand"
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_36 (year INTEGER, notes VARCHAR)<|im_end|>
<|im_start|>user
What is the average of all the years when the notes are “electronics brand?”<|im_end|>
