How many dogs went through any treatments?
CREATE TABLE Treatments (dog_id VARCHAR)
SELECT COUNT(DISTINCT dog_id) FROM Treatments
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Treatments (dog_id VARCHAR) Question: How many dogs went through any treatments? [/INST] SELECT COUNT(DISTINCT dog_id) FROM Treatments </s>