Database: customer_complaints
Question: Count the number of different complaint type codes.
SQL:
SELECT count(DISTINCT complaint_type_code) FROM complaints