What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217?
CREATE TABLE table_name_5 (sinclair_total INTEGER, rank VARCHAR, world_record__kg_ VARCHAR)
SELECT MAX(sinclair_total) FROM table_name_5 WHERE rank = 3 AND world_record__kg_ < 217
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (sinclair_total INTEGER, rank VARCHAR, world_record__kg_ VARCHAR) Question: What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217? [/INST] SELECT MAX(sinclair_total) FROM table_name_5 WHERE rank = 3 AND world_record__kg_ < 217 </s>