Doing this:
delete from product
where descricao ilike '%ACC%'
I get this error:
update or delete on table "product" violates foreign key constraint "fk3b140f7bc8c91aae" on table "productmoviment"
I need to query continue and execute all the lines, deleting the ones which don't have, because if one single line has a foreign key it doesn't execute any other at all
Thanks