create talbe Department(departID int not null primary key,deptName varchar(20) not null)create table Employee(employeeID int not null,deptID int not null,name varchar(20) not null)要想保证Employee表中每一个雇员(employee)是唯一的,且只能属Department表中已经存在的部门,最有的做法是()。
A.
把employeeID和deptID设为组合主键
B.
把employeeID设为主键,同时在deptID列上创建一个外键约束
C.
把employeeID设为主键,同时在deptID列上创建一个检查约束。
D.
在deptID列上创建一个唯一约束,同时在deptID列上创建一个外键约束。
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】The coefficient of determination is:
A.
the square root of the correlation coefficient.
B.
between -1.00 and 1.00.
C.
equal to (1 - (SSE/ SS Total)).
D.
the treatment mean square plus the error mean square.