Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
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?
### Answer:
SELECT SUM(points) FROM table_name_59 WHERE rank = "2nd" AND wins < 6