What is year that has points larger than 46, and a rank of 6th?
CREATE TABLE table_name_45 (year INTEGER, points VARCHAR, rank VARCHAR)
SELECT SUM(year) FROM table_name_45 WHERE points > 46 AND rank = "6th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (year INTEGER, points VARCHAR, rank VARCHAR) Question: What is year that has points larger than 46, and a rank of 6th? [/INST] SELECT SUM(year) FROM table_name_45 WHERE points > 46 AND rank = "6th" </s>