How many ends were lost by the country whose points for (PF) was 87?
CREATE TABLE table_1644857_2 (Ends INTEGER, pf VARCHAR)
SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf = 87
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1644857_2 (Ends INTEGER, pf VARCHAR) Question: How many ends were lost by the country whose points for (PF) was 87? [/INST] SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf = 87 </s>