What is the sum total of all the years with a bell that weighed 857 kilograms?
CREATE TABLE table_name_40 (year INTEGER, weight__kg_ VARCHAR)
SELECT SUM(year) FROM table_name_40 WHERE weight__kg_ = "857"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (year INTEGER, weight__kg_ VARCHAR) Question: What is the sum total of all the years with a bell that weighed 857 kilograms? [/INST] SELECT SUM(year) FROM table_name_40 WHERE weight__kg_ = "857" </s>