I am using Oracale SQL Developer, and I am wondering when I insert data into a table, will the data cascade to another table that has the first tables primary key as a foreign key for example if I run
insert into DEPARTMENT values ('1', 'Karate');
Will the first value in Column 'DEPARTMENTID' also be inserted into the other table I.E 'TEACHER' or do I have to manually insert the value into the both tables.
Thanks
insert into foo,bar values ..., after all.teachertable, how could it get it? Always need to create the parent before the child when foreign keys are involved.