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_48 (airport VARCHAR, rank VARCHAR)
system
What was the total number of aircrafts in 2011 for sydney airport that was ranked number 1?
user
SELECT COUNT(2011) FROM table_name_48 WHERE airport = "sydney airport" AND rank < 1
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_48 (airport VARCHAR, rank VARCHAR)<|im_end|>
<|im_start|>user
What was the total number of aircrafts in 2011 for sydney airport that was ranked number 1?<|im_end|>
