0
I have a product bar code table, I want to delete only those bar codes that are the same as the product code and that have another code besides this one. 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 tried in some ways, but I always end up deleting all barcodes that match the product code. Do you have an idea or do you know whether this is possible or not?
After all the
SGBD
isFirebird
orMySQL
?– Sorack
Firebird. But I use Mysql in another project and it is useful to know the same way. Thank you.
– Bruno Ferreira