I'm after some help putting together a query to remove duplicate data in a specific field in one of my tables.
I have a table called contacts that I need to import in to another system. The new system requires that the email field be unique. I need a query that will allow me to search the email field and remove any duplicate data or set it to "".
I don't want to remove the rows, just the duplicate of the email. So if there are two records contain the email gaz@example.com, then I want to keep the first reference while removing the second.
Seems like this should be a simple thing to do but I'm struggling working our how to achieve it. Thanks.