select count of distinct values sql
snippet in sql

select count of distinct values sql

user2709

SELECT COUNT (DISTINCT column-name)  FROM table-name