SELECT count(DISTINCT pettype) FROM pets
Find the number of distinct type of pets.
SELECT count ( DISTINCT pettype ) FROM pets
select count ( distinct pettype ) from pets
Find the number of distinct type of pets .