MySQL Forums
Forum List  »  Newbie

Re: Copy duplicate values to new column
Posted by: Peter Brawley
Date: May 02, 2017 09:21AM

> create a command to

Don't assume the requirement is best met by just one command.

The requirement still has ambiguities ...

> 1) Find IDs which both have a same specific email adress and, more importantly:

Find IDs where? Or do you mean assign IDs? And if the latter, assign what ID to a dupe? A dupe ID? Alternate ID? What?

> 2) Copy the invoice number from the second instance of the email address to another column

For the 2nd, 3rd &c.

Options: ReplyQuote


Subject
Written By
Posted
Re: Copy duplicate values to new column
May 02, 2017 09:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.