Finding potential duplicates from Invoice table

Hi,
I have a Invoice table with five columns - Invoice ID, Invoice Number, Amount, date and Vendor. Invoice ID is PK.

I have to find the possible duplicates from this table.

Eg: 5 scenarios:
1.Same invoice number, Amount, date but vendor is slightly different
2.Same Amount, date, vendor but Invoice number is slightly different
3.Same Invoice number , date, vendor but Amount is slightly different
3.Same Invoice number , date, vendor but vendor is slightly different
5.All are same.

Can you please help me on how to implement these 5 scenarios and find the duplicates?

Answers

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file