Find how many school locations have the word 'NY'.
CREATE TABLE university (LOCATION VARCHAR)
SELECT COUNT(*) FROM university WHERE LOCATION LIKE "%NY%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE university (LOCATION VARCHAR) Question: Find how many school locations have the word 'NY'. [/INST] SELECT COUNT(*) FROM university WHERE LOCATION LIKE "%NY%" </s>