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_22 (goals_against INTEGER, position VARCHAR, played VARCHAR)
system
What is the sum of goals against for positions higher than 14, with fewer than 30 played?
user
SELECT SUM(goals_against) FROM table_name_22 WHERE position > 14 AND played < 30
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_22 (goals_against INTEGER, position VARCHAR, played VARCHAR)<|im_end|>
<|im_start|>user
What is the sum of goals against for positions higher than 14, with fewer than 30 played?<|im_end|>
