
June 9th, 2004, 09:41 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Selecting Distincts from one column, returning all columns....
Familiar, but new to Access. Trying to get multiple columns returned based off of one distinct column. Here goes:
Name Email Newsletter
Bob URL News1
Bob URL News2
Dave URL News1
Dave URL News2
Steve URL News3
I need to do a query that returns
Name Email Newsletter
Bob URL News1
Dave URL News1
Steve URL News3
Basically, a query off of the email column that returns all the distinct entries, but will also return the other columns as well. Every time I run a DISTINCT, I only get the email column. Also, I don't care what is in the newsletter or name fields. They can be anything, I just need the first one.
Thanks.
|