How many values are in the ends won cell corresponding to a PA of 39?
CREATE TABLE table_17012578_37 (Ends VARCHAR, pa VARCHAR)
SELECT COUNT(Ends) AS won FROM table_17012578_37 WHERE pa = 39
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17012578_37 (Ends VARCHAR, pa VARCHAR) Question: How many values are in the ends won cell corresponding to a PA of 39? [/INST] SELECT COUNT(Ends) AS won FROM table_17012578_37 WHERE pa = 39 </s>