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 branch (membership_amount INTEGER, open_year VARCHAR, city VARCHAR)
system
Show minimum and maximum amount of memberships for all branches opened in 2011 or located at city London.
user
SELECT MIN(membership_amount), MAX(membership_amount) FROM branch WHERE open_year = 2011 OR city = 'London'
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 branch (membership_amount INTEGER, open_year VARCHAR, city VARCHAR)<|im_end|>
<|im_start|>user
Show minimum and maximum amount of memberships for all branches opened in 2011 or located at city London.<|im_end|>
