Return one record per value
My select statement returns two columns, ContactID and IndividualID. Any given IndividualID will have 1 or more ContactID. In the cases where there is more than one, how can it return only 1 ContactID per IndividualID? It doesn't matter if it's always the first ContactID per IndividualID or a random one.
|