SELECT count(DISTINCT complaint_type_code) FROM complaints
How many distinct complaint type codes are there in the database?
SELECT count ( DISTINCT complaint_type_code ) FROM complaints
select count ( distinct complaint_type_code ) from complaints
How many distinct complaint type codes are there in the database ?