0
I have the following tables:
- register
- batches
Where the cadastro
contains the primary key id_cadastro
that
us lotes
refers to it.
However, the bank was not standardised, so the foreign key that refers to id_cadastro
there is no.
I am manually registering, but it is almost impossible to locate all references that do not exist.
Is there any way I can search for missing references automatically with SQL commands?
Put the complete structure of the tables
– R.Santos