I can select all the distinct values in a column in the following ways:
SELECT DISTINCT column_name FROM table_name;
SELECT column_
select Count(distinct columnName) as columnNameCount from tableName