How many silver medals were won when there were 4 gold and 22 in total?
CREATE TABLE table_name_26 (silver INTEGER, gold VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_26 WHERE gold = 4 AND total = 22
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (silver INTEGER, gold VARCHAR, total VARCHAR) Question: How many silver medals were won when there were 4 gold and 22 in total? [/INST] SELECT MIN(silver) FROM table_name_26 WHERE gold = 4 AND total = 22 </s>