|< < 25 > >|

Foreign keys and updates

Example (same as before)

With slightly more data.
create table P( p_id int not null primary key, x int ); create table F( f_id int not null primary key, p_id int references P, y int );
P
p_id x
1123
2456
3789
4111
F
f_id p_id y
10011999
10021888
20012777
30013666
30023555
30033444

|< < 25 > >|