Select myColumn, count(*) totalcount
from myTable
group by myColumn
having count(*) >1
order by count(*) desc;
The following works for counting integer fields, but not for text fields. How do I need to modify it so that it will work for text fields?
Thanks to all for their help!
I’m guessing you have trailing (or leading) spaces which are different values to trimmed values…
And you mean text values not datatype…