Hi,
I think the child table's primary key has been set as foreign key of the 1st table. And the insert trigger which will be fired when new value inserted into the table with some rules for validation of data. So, when u insert value to the table, the rules in trigger is not valid.
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...