What is the highest prev that has 9 as the rank, with a rating less than 2746?
CREATE TABLE table_name_4 (prev INTEGER, rank VARCHAR, rating VARCHAR)
SELECT MAX(prev) FROM table_name_4 WHERE rank = 9 AND rating < 2746
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (prev INTEGER, rank VARCHAR, rating VARCHAR) Question: What is the highest prev that has 9 as the rank, with a rating less than 2746? [/INST] SELECT MAX(prev) FROM table_name_4 WHERE rank = 9 AND rating < 2746 </s>