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_15 (laps INTEGER, year VARCHAR)
system
What is the average number of laps in 1949?
user
SELECT AVG(laps) FROM table_name_15 WHERE year = "1949"
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_15 (laps INTEGER, year VARCHAR)<|im_end|>
<|im_start|>user
What is the average number of laps in 1949?<|im_end|>
