How many years have a Location of pacific ring of fire, and Eruptions of pinatubo?
CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR)
SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR) Question: How many years have a Location of pacific ring of fire, and Eruptions of pinatubo? [/INST] SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo" </s>