human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Nation, Gold, Silver, Bronze, Total
###Question: Which Silver has a Gold of 2, and a Nation of puerto rico, and a Total smaller than 12?
gpt
SELECT SUM Silver FROM table WHERE Gold = 2 AND Nation = puerto rico AND Total < 12