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_12 (year INTEGER, movie VARCHAR)
system
What was the average year that Thuppakki movies came out?
user
SELECT AVG(year) FROM table_name_12 WHERE movie = "thuppakki"
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_12 (year INTEGER, movie VARCHAR)<|im_end|>
<|im_start|>user
What was the average year that Thuppakki movies came out?<|im_end|>
