OCP-1Z0-051-题目解析-第25题
2016-01-08 14:19
453 查看
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:正确
相关文章推荐
- 作业2
- CTreeCtrl 控件使用总结
- Java中int与Integer的使用区别
- PHP事务
- android之APN详解
- C++:类与对象5(矩形的面积与周长)
- android按键事件和触屏事件(四)-listview的setOnItemClickListener点击无效的处理
- 没有界面faster-rcnn 跑demo.py
- html冷门知识
- Request与Response常用方法总结
- aa
- eclipse中选中一个单词 其他相同的也被选中 怎么设置
- SCORM技术总结及题库应用
- 图表amchart中文教程(柱状图,饼状图等的中文设置说明)
- MediaPlayer简介
- java包装类和基本类的分析(以Integer来介绍)
- 读书。。。
- 阿里云部署django Ubuntu 12.04.5 + Apache2.2 + django1.8
- 线程池
- spring hibernate structs