A table was created using the following DDL: CREATE TABLE employee (id SMALLINT NOT NULL, name VARCHAR(9), dept SMALLINT CHECK (dept BETWEEN 10 AND 100), job CHAR(10) CHECK (job IN ('Sales','Mgr','Clerk')), hiredate DATE, salary DECIMAL(7,2), comm DECIMAL(7,2), PRIMARY KEY (id), CONSTRAINT yearsal CHECK (YEAR(hiredate) > 2004 OR salary > 80500) ); Which of the following INSERT statements will fail?()
A、INSERT INTO employee VALUES (2, 'Smith', 80, 'Mgr', '09/03/2006', 80000, NULL)
B、INSERT INTO employee VALUES (4, 'Smith', 86, 'Mgr', '07/14/2003', 90000, NULL)
C、INSERT INTO employee VALUES (1, 'Smith', 55, 'Sales', '07/14/2003', NULL, NULL)
D、INSERT INTO employee VALUES (3, 'Smith', 33, 'Analyst', '11/26/2006', 90000, NULL)
相关问题推荐
-
Which of the following procedures best explains how to enable the NIS name resolution to take precedence over DNS on a system-wide basis?()
A、 Add the following line to /etc/netsvc.conf: hosts = nis,bind,local
B、 edit /etc/netsvc.conf to add the following: process /full/path/of/process /{ hosts = local,nis,dns}
C、 In an NIS and DNS environment, NIS takes precedence over DNS in this environment resulting in no change
D、 Change the NSORDER environment variable
-
下列对VLAN的描述中,错误的是( )。
A、VLAN以交换式网络为基础
B、VLAN工作在OSI参考模型的网络层
C、每个VLAN都是一个独立的逻辑网段
D、VLAN之间通信必须通过路由器
-
数据字典(DD)所定义的对象包含于( )。
A、数据流图(DFD图)
B、程序流程图
C、软件结构图
D、方框图
-
Which of the following drive types can be combined in a single EXP5000 expansion unit?()
A、SSD, SATA and FC only
B、SSD, SAS and FDE only
C、SSD, FDE, SATA and FC only
D、SSD, SAS, FDE, FC and SATA
-
3D显示必须提供()。
A、一组相位不同的图像
B、三组相位不同的图像
C、四组相位不同的图像
D、两组相位不同的图像