sql语句有什么问题?提示ORA-00907: 缺少右括号
createtablescc(snochar(7),cnochar(8),gradenumber,primarykey(sno,cno),foreignkey(sno)r...
create table scc
( sno char(7),
cno char(8),
grade number,
primary key(sno,cno),
foreign key (sno) references student(sno)
on delete cascade
on update cascade,
foreign key(cno) references course(cno)
on delete cascade
on update cascade ); 展开
( sno char(7),
cno char(8),
grade number,
primary key(sno,cno),
foreign key (sno) references student(sno)
on delete cascade
on update cascade,
foreign key(cno) references course(cno)
on delete cascade
on update cascade ); 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询