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_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR)
system
What is the earliest heat with a finisher from the Czech Republic and a rank over 41?
user
SELECT MIN(heat) FROM table_name_51 WHERE nationality = "czech republic" AND rank > 41
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_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR)<|im_end|>
<|im_start|>user
What is the earliest heat with a finisher from the Czech Republic and a rank over 41?<|im_end|>
