SQL Statement to return first unique record
- From: "jim" <jimdoen@xxxxxxxxxxx>
- Date: 18 Jan 2007 20:51:55 -0800
I've been searching and trying out SQL statements for hours and I'm
still having a problem.
I'm querying 3 tables... and I only want the first unique record
returned.
Currently, the data returned looks like this..............
New York New York A
New York New York B
New York New York C
Los Angeles California A
Los Angeles California B
Los Angeles California C
I want the select statement to return this instead...
New York New York A
Los Angeles California A
I'm using MS SQL server.
please help?
thanks for your help.
.
- Follow-Ups:
- Re: SQL Statement to return first unique record
- From: Ed Murphy
- Re: SQL Statement to return first unique record
- From: othellomy
- Re: SQL Statement to return first unique record
- From: othellomy
- Re: SQL Statement to return first unique record
- Prev by Date: Re: Row triggers equivalent in sql server 2000
- Next by Date: Re: SQL Statement to return first unique record
- Previous by thread: DB2 --> 2005 Linked Server Mystery Solved
- Next by thread: Re: SQL Statement to return first unique record
- Index(es):