Hi,
select email, count(email) from tabelle group by email having count(email)=2;
2 bitte, ansonsten sind nur die echt-doppelten drin, nicht aber die dreifachen.
Deine Lösung zu (2) funktioniert nur, falls name+vorname+telefon die einzig relevante Ähnlichkeit ist, gilt aber auch name+vorname+stadt wird die Abfrage höllisch umfangreich.
MfG
Rouven
--
-------------------
Buy when there's blood running in the street and sell when everyone is pounding at your door, clawing to own your equities -- Wisdom on Wallstreet
-------------------
Buy when there's blood running in the street and sell when everyone is pounding at your door, clawing to own your equities -- Wisdom on Wallstreet