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)
 'Select' clause

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-10-29 : 15:40:59
romald writes "Hi Sean

Could you please help me with a Select query concept for the MS SQL platform that I am struggling to find an answer for. I am trying to return one record only out of a Select query that has a unique grouping list (e.g.

ID Customer Project
3 0001 100P
3 0002 100P
3 0003 100P
..
20 0004 200A
20 0002 200A


and so on.

I would like to return the first record only from each of the group listings.

i.e.
ID Customer Project
3 0001 100P
..
20 0004 200A


Kind Regards,

Romald"
   

- Advertisement -