SELECT myColumn, COUNT(*) FROM myTable GROUP BY myColumn HAVING COUNT(*) > 1
This will return all myColumn values ββalong with the number of their cases if their number of occurrences is more than one (that is, they are not unique).
If the result of this query is empty, then you have unique values ββin this column.
eumiro
source share