Primärschlüssel und Fremdschlüssel derselben Spalte in einer Tabelle zuweisen:
create table a1 (
id1 int not null primary key
);
insert into a1 values(1),(2),(3),(4);
create table a2 (
id1 int not null primary key foreign key references a1(id1)
);
insert into a2 values(1),(2),(3);