I have a simple query and I'd like to only reveal the unique rows
SELECT
name, email, phone
FROM
contacts
in other words, if the email appears multiple times and its the same email, we only show 1 name and 1 email once.
How is this question different from the suggested answer?
If the name is missing and another record has the name, the query would return the query that contains the most complete data.
The GOAL: is to merge the data fields, so that if one record has a name+email and another record has email+phone and the phone# or the email is a match - it will COMBINE it into 1 nice record
with name+phone+email.
That's how this question is different from similar questions.... as our log files when people submit optin forms are sometimes email only, other times, name and email, other times, phone and email - we want to combine all these into a single contact record.
Thanks!
Thanks!