Hey guys,
I want to know if there is any way to tell SQL to eliminate duplicate records when the result set contains unique values. For example
Code Address
_____ _________
0005 123 Beckham
0005 433 East Hack
Code is my primary key. I would like to see only one record with 0005, but I don't see how this is possible when there are two unique addresses.
How would I tell SQL which record to choose for the output?
I want to know if there is any way to tell SQL to eliminate duplicate records when the result set contains unique values. For example
Code Address
_____ _________
0005 123 Beckham
0005 433 East Hack
Code is my primary key. I would like to see only one record with 0005, but I don't see how this is possible when there are two unique addresses.
How would I tell SQL which record to choose for the output?