题目详情
单选题 定义sc表中的参照完整性,sno,cno分别参照应用student表的主码和course表的主码
A. create table sc ( sno char(9) not null, cno char(9) not null, grade smallint, primary key(sno,cno), foreign key (sno) references student(sno) )
B. create table sc ( sno char(9) not null, cno char(9) not null, grade smallint, primary key(sno,cno), foreign key (cno) references student(cno) )
C. create table sc ( sno char(9) not null, cno char(9) not null, grade smallint, primary key(sno,cno), foreign key (sno) references student(sno), foreign key (cno) references student(cno) )
D. create table sc ( sno char(9) not null, cno char(9) not null, grade smallint, primary key(sno,cno) )

学科:数据库系统概论2023
时间:2023-06-16 06:28:51
相关题目
相关作业
