Database Name = MyDB
Table Name = MyTable
Column Name = ColumnSurname
Using SQL Server 2005
I have multiple entries in ColumnSurname and some of them are spelled exactly the same. How can i return all the distinct values with the same ColumnSurname value. Meaning i want to return "Bond" if "Bond" comes up more than twice.
How would i do this in a SQL statement?