|< < 19 > >|

Foreign keys

The basics

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 );

|< < 19 > >|