Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Incognito
Starting Member
49 Posts |
Posted - 2002-04-02 : 03:02:51
|
| Hello people,My select statement is as next:Select Left(Firmanaam,4) as Company, Ltrim(Achternaam) as SurnameFrom MailingWhere Achternaam is not nullOrder By Ltrim(Achternaam), FirmanaamResults:Company - NameHart AaijJonk AalbersbergJazo AalderingJazo AalderingJazo AalderingBran AaldersBran AaldersRS T AaldersTech AandenroomerNow I Want to delete the columns which are exactly the same. In this case it is Jazo - Aaldering, Bran - Aalders. When I delete I want there is ONE left of the duplicates.If someone can help me out with a nice reference or tips It would be great.Thnx all,Incognito |
|
|
Nazim
A custom title
1408 Posts |
|
|
|
|
|