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_20 (rank INTEGER, name VARCHAR, goals VARCHAR)
system
What is the highest rank for Nat Lofthouse, and goals more than 255?
user
SELECT MAX(rank) FROM table_name_20 WHERE name = "nat lofthouse" AND goals > 255
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_20 (rank INTEGER, name VARCHAR, goals VARCHAR)<|im_end|>
<|im_start|>user
What is the highest rank for Nat Lofthouse, and goals more than 255?<|im_end|>
