Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
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?
### Answer:
SELECT MAX(prev) FROM table_name_4 WHERE rank = 9 AND rating < 2746