If the total is 17, what was the maximum rank amount?
CREATE TABLE table_19744915_17 (rank INTEGER, total VARCHAR)
SELECT MAX(rank) FROM table_19744915_17 WHERE total = 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19744915_17 (rank INTEGER, total VARCHAR) Question: If the total is 17, what was the maximum rank amount? [/INST] SELECT MAX(rank) FROM table_19744915_17 WHERE total = 17 </s>