gpsdh
asked on
Find Duplicates - SQL
I am looking to find all the duplicates in our database based on duplicate upc code only if the uom = 'CA' or 'UOM' and not null.
So it would show as the output.
Any help would be greatly appreciated.
part_code uom upc_code
PUR14192 CA 017800141888
PUR14192 EA 017800141888
PUR14192 LB NULL
PUR14192 PL NULL
1428 CA 052742142814
1428 EA 052742142807
1428 LA NULL
1428 LB NULL
1428 PL NULL
So it would show as the output.
part_code uom upc_code
PUR14192 CA 017800141888
PUR14192 EA 017800141888
Any help would be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the grade. Good luck with your project. -Jim
ASKER