A couple of points:
a) Your SQL is missing a bracket (after the subselect I suspect)
b) doesn't that give you a list of ALL email addresses, removing the duplicates, which is not what I believe you asked for.
Pleased that you found an answer though, congrats and thanks for letting us know.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.