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_16 (appearances INTEGER, team VARCHAR, rank VARCHAR)
system
How many appearances for psv eindhoven ranked above 11?
user
SELECT SUM(appearances) FROM table_name_16 WHERE team = "psv eindhoven" AND rank < 11
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_16 (appearances INTEGER, team VARCHAR, rank VARCHAR)<|im_end|>
<|im_start|>user
How many appearances for psv eindhoven ranked above 11?<|im_end|>
