SELECT DISTINCT column_name FROM table_name;
SELECT column_name FROM table_name GROUP BY column_name;
SELECT COUNT(DISTINCT column_name) AS some_alias FROM table_name
SELECT [columnName], count([columnName]) AS CountOf
FROM [tableName]
GROUP BY [columnName]
select count(distinct my_col)
+ count(distinct Case when my_col is null then 1 else null end)
from my_table
/