Which Silver has a Gold of 2, and a Nation of puerto rico, and a Total smaller than 12?
CREATE TABLE table_name_71 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT SUM(silver) FROM table_name_71 WHERE gold = 2 AND nation = "puerto rico" AND total < 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) Question: Which Silver has a Gold of 2, and a Nation of puerto rico, and a Total smaller than 12? [/INST] SELECT SUM(silver) FROM table_name_71 WHERE gold = 2 AND nation = "puerto rico" AND total < 12 </s>