SCHEMA:
CREATE TABLE table_name_59 (points INTEGER, rank VARCHAR, wins VARCHAR)
User Question:
What is the total of the points for wins under 6 and a rank of 2nd?


SELECT SUM(points) FROM table_name_59 WHERE rank = "2nd" AND wins < 6