What is the difference of these two kinds of foreign key defination?

Started by 纪晓曦over 16 years ago1 messagesgeneral
Jump to latest
#1纪晓曦
sheepjxx@gmail.com

To be precise,

The difference between

create table a (
foreign key (id) referenced by b(name),
);

create table b(
id integer referenced by b(name),
);