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_8 (competition VARCHAR, year VARCHAR, notes VARCHAR)
system
What competition took place in a year later than 2009 with team notes?
user
SELECT competition FROM table_name_8 WHERE year > 2009 AND notes = "team"
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_8 (competition VARCHAR, year VARCHAR, notes VARCHAR)<|im_end|>
<|im_start|>user
What competition took place in a year later than 2009 with team notes?<|im_end|>
