What is the number of cups when the other was more than 3, the league more than 3, for Lauri Dalla Valle, and a Total more than 21?
CREATE TABLE table_name_9 (cups INTEGER, total VARCHAR, player VARCHAR, other VARCHAR, league VARCHAR)
SELECT AVG(cups) FROM table_name_9 WHERE other > 3 AND league > 3 AND player = "lauri dalla valle" AND total > 21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (cups INTEGER, total VARCHAR, player VARCHAR, other VARCHAR, league VARCHAR) Question: What is the number of cups when the other was more than 3, the league more than 3, for Lauri Dalla Valle, and a Total more than 21? [/INST] SELECT AVG(cups) FROM table_name_9 WHERE other > 3 AND league > 3 AND player = "lauri dalla valle" AND total > 21 </s>