What is the total amount of gold medals when there were more than 20 silvers and there were 135 bronze medals?
CREATE TABLE table_name_22 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_22 WHERE silver > 20 AND bronze = 135
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) Question: What is the total amount of gold medals when there were more than 20 silvers and there were 135 bronze medals? [/INST] SELECT COUNT(gold) FROM table_name_22 WHERE silver > 20 AND bronze = 135 </s>