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_1140085_2 (race VARCHAR, pole_position VARCHAR, date VARCHAR)
system
what is the race where the pole position is niki lauda and the date is 27 april?
user
SELECT race FROM table_1140085_2 WHERE pole_position = "Niki Lauda" AND date = "27 April"
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_1140085_2 (race VARCHAR, pole_position VARCHAR, date VARCHAR)<|im_end|>
<|im_start|>user
what is the race where the pole position is niki lauda and the date is 27 april?<|im_end|>
