Friends good morning, I have the following problem.
In my database I have two tables (HeadingsFacturas and DetalleFacturas) both are joined by an IDFactura.
So for each invoice header, there is a detail that contains the invoiced transactions. So far so good.
What I need is validity that all the records in the DetailFacturas have a Header associated to it, so I need to make a comparison, since previously someone deleted some headings and there are some details that no longer have an associated header.
I hope you have given me to understand