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_18 (fastest_lap VARCHAR, winning_driver VARCHAR)
system
When Michael Schumacher won the race, who had the fastest lap?
user
SELECT fastest_lap FROM table_name_18 WHERE winning_driver = "michael schumacher"
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_18 (fastest_lap VARCHAR, winning_driver VARCHAR)<|im_end|>
<|im_start|>user
When Michael Schumacher won the race, who had the fastest lap?<|im_end|>
