foreign key(SortNumber)
ferences sort(SortNumber) 这条语句写错了,把这条语句删除掉,就能正常执行了!
create table sc(S INT,
C INT,
score int
)
alter SC add constraint FK_Reference_1 foreign key (S)
references student (S) on delete restrict on update restrict
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)