Name the number ends won when L is 4 and stolen ends is 17
CREATE TABLE table_15333005_1 (Ends VARCHAR, l VARCHAR, stolen_ends VARCHAR)
SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_15333005_1 (Ends VARCHAR, l VARCHAR, stolen_ends VARCHAR) Question: Name the number ends won when L is 4 and stolen ends is 17 [/INST] SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17 </s>