【单选题】用SQL语言建立一个账户表,包括帐号,用户名,密码,余额等字段,若要保证余额字段的取值不低于1元,最合适的实现方法是( )
【单选题】建立如下数据库表:Create table depa(Depid int primary key,Depname nvarchar(20) not null)Create table employee(Employeeid int not null,Depid int not null,Name nvarchar(20) not null)要想保证employee表中的每一个雇员是唯一的,且只能属...
A.
Employeeid 和 depid 设为组合主键
B.
Employeeid 设为主键,同时在 depid 列上创建一个外键约束
C.
Employeeid 设为主键,同时在 depid 列上创建一个检查约束
D.
在 Employeeid 列上创建一个唯一约束,同时在 depid 列上创建一个外键约束
【单选题】建立如下数据库表: 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 ...
A.
把 employeeID 和 deptID 设为组合主键。
B.
把 employeeID 设为主键,同时在deptID 列上创建一个外键约束。
C.
把 employeeID 设为主键,同时在 deptID 列上创建一个检查约束。
D.
在 deptID 列上创建一个唯一约束,同时在 deptID 列上创建一个外键约束。
【单选题】建立如下数据库表: create table 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 ) 要...
A.
把employeeid和deptid设为组合主键
B.
把employeeid设为主键,同时在deptid列上创建一个外键约束
C.
把employeeid设为主键,同时在deptid列上创建一个检查约束
D.
在deptid列上创建一个唯一约束,同时在deptid列上创建一个外键约束
【单选题】建立如下数据库表: create table 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 ) 要...
A.
把employeeID和deptID设为组合主键。
B.
把employeeID设为主键,同时在deptID列上创建一个外键约束。
C.
把employeeID设为主键,同时在deptID列上创建一个检查约束。
D.
在deptID列上创建一个唯一约束,同时在deptID列上创建一个外键约束。
【判断题】演讲者只能照着演讲稿念,不能进行展开和再创造。
【单选题】在网络中间设备发生拥塞时,TCP可以使用滑动窗口技术很好的解决流量控制问题。
【多选题】在班轮提单背面,通常都有印就的运输条款,这些条款是作为确定下列哪些人之间的权利义务的主要依据? ( )
【简答题】测试作业:请上传一张家具的图片,要求:1.以图片JPEG格式上传一次;2. 以PPT格式上传一次。 请分两次传送。
【单选题】在SQL语言中,如果要建立一个工资表,包含职工号、姓名、职称、工资等字段。若要保证“工资”字段的取值不低于800元,最合适的实现方法是