OCP-1Z0-051-题目解析-第25题
2014-06-28 23:01
417 查看
25. You need to create a table with the following column specifications:
1. Employee ID (numeric data type) for each employee
2. Employee Name (character data type) that stores the employee name
3. Hire date, which stores the date of joining the organization for each employee
4. Status (character data type), that contains the value 'ACTIVE' if no data is entered
5. Resume (character large object [CLOB] data type), which contains the resume submitted by the employee
Which is the correct syntax to create this table?
A.
CREATE TABLE EMP_1
(emp_id NUMBER(4),
emp_name VARCHAR2(25),
start_date DATE,
e_status VARCHAR2(10) DEFAULT 'ACTIVE',
resume CLOB(200));
B.
CREATE TABLE 1_EMP
(emp_id NUMBER(4),
emp_name VARCHAR2(25),
start_date DATE,
emp_status VARCHAR2(10) DEFAULT 'ACTIVE',
resume CLOB);
C.
CREATE TABLE EMP_1
(emp_id NUMBER(4),
emp_name VARCHAR2(25),
start_date DATE,
emp_status VARCHAR2(10) DEFAULT "ACTIVE",
resume CLOB);
D.
CREATE TABLE EMP_1
(emp_id NUMBER,
emp_name VARCHAR2(25),
start_date DATE,
emp_status VARCHAR2(10) DEFAULT 'ACTIVE',
resume CLOB);
Answer: D
A:错误,CLOB类型不需要定义长度
B:错误,表名不能以数字开头
C:错误,字符串是以单引号开头和结束的
D:正确
1. Employee ID (numeric data type) for each employee
2. Employee Name (character data type) that stores the employee name
3. Hire date, which stores the date of joining the organization for each employee
4. Status (character data type), that contains the value 'ACTIVE' if no data is entered
5. Resume (character large object [CLOB] data type), which contains the resume submitted by the employee
Which is the correct syntax to create this table?
A.
CREATE TABLE EMP_1
(emp_id NUMBER(4),
emp_name VARCHAR2(25),
start_date DATE,
e_status VARCHAR2(10) DEFAULT 'ACTIVE',
resume CLOB(200));
B.
CREATE TABLE 1_EMP
(emp_id NUMBER(4),
emp_name VARCHAR2(25),
start_date DATE,
emp_status VARCHAR2(10) DEFAULT 'ACTIVE',
resume CLOB);
C.
CREATE TABLE EMP_1
(emp_id NUMBER(4),
emp_name VARCHAR2(25),
start_date DATE,
emp_status VARCHAR2(10) DEFAULT "ACTIVE",
resume CLOB);
D.
CREATE TABLE EMP_1
(emp_id NUMBER,
emp_name VARCHAR2(25),
start_date DATE,
emp_status VARCHAR2(10) DEFAULT 'ACTIVE',
resume CLOB);
Answer: D
A:错误,CLOB类型不需要定义长度
B:错误,表名不能以数字开头
C:错误,字符串是以单引号开头和结束的
D:正确
相关文章推荐
- OCP-1Z0-051-题目解析-第4题
- OCP-1Z0-051-题目解析-第16题
- OCP-1Z0-051-题目解析-第26题
- OCP-1Z0-051-题目解析-第11题
- OCP-1Z0-051-题目解析-第33题
- OCP-1Z0-051-题目解析-第5题
- OCP-1Z0-051-题目解析-第17题
- OCP-1Z0-051-题目解析-第34题
- OCP-1Z0-051-题目解析-第1题
- OCP-1Z0-051-题目解析-第35题
- OCP-1Z0-051-题目解析-第41题
- OCP-1Z0-051-题目解析-第6题
- OCP-1Z0-051-题目解析-第8题
- OCP-1Z0-051-题目解析-第36题
- OCP-1Z0-051-题目解析-第48题
- OCP-1Z0-051-题目解析-第29题
- OCP-1Z0-051-题目解析-第50题
- OCP-1Z0-051-题目解析-第7题
- OCP-1Z0-051-题目解析-第12题
- OCP-1Z0-051-题目解析-第44题