What is the maximum cap number where 0 goals were scored with a rank of 15?
CREATE TABLE table_name_5 (caps INTEGER, goals VARCHAR, rank VARCHAR)
SELECT MAX(caps) FROM table_name_5 WHERE goals = 0 AND rank = 15
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (caps INTEGER, goals VARCHAR, rank VARCHAR) Question: What is the maximum cap number where 0 goals were scored with a rank of 15? [/INST] SELECT MAX(caps) FROM table_name_5 WHERE goals = 0 AND rank = 15 </s>