Question: How many dogs went through any treatments?
Schema: create table treatments (dog_id varchar, PRIMARY KEY (dog_id))
SQL: select count(distinct dog_id) from treatments