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
 Transact-SQL (2000)
 Select only last record from many duplicates

Author  Topic 

vreede
Starting Member

8 Posts

Posted - 2001-09-14 : 02:50:45
Hi,

How can I retreive only the last records from many duplicates using the highest numbers in the ID colomn.
ID Name
1 car
2 bike
3 bike
4 car
5 bike

the result should be:
ID Name
4 car
5 bike

Thanks.
   

- Advertisement -