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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Sorting distinct records

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-06-16 : 09:19:41
Tonya writes "Hi,

I have some duplicate records that exist in a SQL Server 7.0 DB
table. I have used select distinct * from dogs order by weight to
clean out the duplicates. However, I need these cleaned records
to appear in order by breed. I have tried select distinct * from
dogs order by weight, breed. This does not work. You help is
greatly appreciated. Thanks."
   

- Advertisement -