题海让大学四年没有难题
白天模式登陆

题目详情

单选题 定义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

时间:2023-06-16 06:28:51

Copyright © 2022 津ICP备2021001502号