display the country ID and number of cities for each country.
CREATE TABLE locations (country_id VARCHAR)
SELECT country_id, COUNT(*) FROM locations GROUP BY country_id
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE locations (country_id VARCHAR) Question: display the country ID and number of cities for each country. [/INST] SELECT country_id, COUNT(*) FROM locations GROUP BY country_id </s>