I have a barcode table of products, I want to delete only the barcodes that are equal to the product code and have another code besides this. Table:
CodProduto CodBarra
01 01 < não deletar
02 02 < deletar
02 789123 < não deletar
02 789124 < não deletar
03 03 < não deletar
04 04 < deletar
04 789125 < não deletar
04 789126 < não deletar
I've tried it a couple of ways, but I always delete all bar codes that are the same as the product code. Do you have an idea or do you know if this is possible or not?