create table USERS (
PK_USER int not null auto_increment primary key,
EMAIL varchar(100) not null,
PASSWORD char(40) not null
);
create table CIRCLES (
PK_CIRCLE int not null auto_increment primary key,
CIRCLE varchar(45),
FK_CREATOR int,
foreign key(FK_CREADOR) references USERS(PK_USER)
);
create table MEMBERS (
FK_MEMBERS int,
FK_CIRCLES int,
foreign key(FK_MEMBER) references USERS(PK_USER),
foreign key(FK_CIRCLE) references CIRCLES(PK_CIRCLE)
);
有这个双重参考是正确的PK_USER
吗?(参考 USERS=USUARIOS,MEMBERS=MIEMBROS,CIRCLES=CIRCULOS,CREATOR=CREADOR)