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_98 (roll INTEGER, name VARCHAR, decile VARCHAR, authority VARCHAR)
system
What is the highest Roll of Orere School with a Decile less than 8 with a State Authority?
user
SELECT MAX(roll) FROM table_name_98 WHERE decile < 8 AND authority = "state" AND name = "orere school"
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_98 (roll INTEGER, name VARCHAR, decile VARCHAR, authority VARCHAR)<|im_end|>
<|im_start|>user
What is the highest Roll of Orere School with a Decile less than 8 with a State Authority?<|im_end|>
