MySQL Forums
Forum List  »  Newbie

Re: Duplicate entry error but dupes are there
Posted by: Peter Brawley
Date: January 25, 2018 08:30AM

select concat( account_key, '-', processdate_est_key, '-', package_id ) as pk, count(*) as N
from staging_package_dim
group by pk
having N>1 ;

Options: ReplyQuote


Subject
Written By
Posted
Re: Duplicate entry error but dupes are there
January 25, 2018 08:30AM


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.