I am working on a simple database where I would want to have a one is to many relationship, I’ve created a foreign key which has on an ON UPDATE CASCADE, based from my understanding of ON UPDATE CASCADE, if my Primary gets incremented the Foreign key in the other table that references it will also get incremented/ have the value of the Primary in the other table . but the problem is as I insert data in my Parent table, the foreign Key in the other table did not get the value of the Primary on my parent table why is it like that? How would my foreign key have the value of the key that is related to it? here’s a screenshot for you guys to easiy understand 
As you can see the P_ID in the orders table doesn’t have a value even though it is linked to the P_ID in the People table
The Expected Result will be that in the Orders table the value of P_ID would be equivalent to P_ID of people table, where I inserted my data.
You wont get any action on insert, only
on update.If you have people number 1 and an order to people number one, if you change it to number 2, the order will be changed to 2.
You may want a trigger. tell us more what’s the expected result
EDIT:
trigger example: