What is the total of the points for wins under 6 and a rank of 2nd?
CREATE TABLE table_name_59 (points INTEGER, rank VARCHAR, wins VARCHAR)
SELECT SUM(points) FROM table_name_59 WHERE rank = "2nd" AND wins < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (points INTEGER, rank VARCHAR, wins VARCHAR) Question: What is the total of the points for wins under 6 and a rank of 2nd? [/INST] SELECT SUM(points) FROM table_name_59 WHERE rank = "2nd" AND wins < 6 </s>