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_50 (year INTEGER, type VARCHAR, title VARCHAR)
system
What year had a title of Die Shaolin Affen EP and EP as the type?
user
SELECT AVG(year) FROM table_name_50 WHERE type = "ep" AND title = "die shaolin affen ep"
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_50 (year INTEGER, type VARCHAR, title VARCHAR)<|im_end|>
<|im_start|>user
What year had a title of Die Shaolin Affen EP and EP as the type?<|im_end|>
