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_19 (average INTEGER, rank VARCHAR, celebrity VARCHAR)
system
What is the highest average of celebrity Natalia Lesz, who is ranked greater than 4?
user
SELECT MAX(average) FROM table_name_19 WHERE rank > 4 AND celebrity = "natalia lesz"
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_19 (average INTEGER, rank VARCHAR, celebrity VARCHAR)<|im_end|>
<|im_start|>user
What is the highest average of celebrity Natalia Lesz, who is ranked greater than 4?<|im_end|>
