OCP-1Z0-051 第48题 索引
来源:互联网 发布:ping测试网络 编辑:程序博客网 时间:2024/04/27 16:52
一、原题
Which two statements are true regarding indexes? (Choose two.)
A. They can be created on tables and clusters.
B. They can be created on tables and simple views.
C. You can create only one index by using the same columns.
D. You can create more than one index by using the same columns if you specify distinctly different combinations of the columns.
答案:AD
二、题目翻译A. They can be created on tables and clusters.
B. They can be created on tables and simple views.
C. You can create only one index by using the same columns.
D. You can create more than one index by using the same columns if you specify distinctly different combinations of the columns.
答案:AD
关于索引哪两个句子是正确的?(选择两个)
A. 可以在表(tables)和簇(clusters)上建立索引
B. 可以在表和简单视图上创建索引
C. 同一个列只能创建一个索引
D. 如果你指定了不同列组合,可以使用相同的列创建多个索引
三、题目解析A. 可以在表(tables)和簇(clusters)上建立索引
B. 可以在表和简单视图上创建索引
C. 同一个列只能创建一个索引
D. 如果你指定了不同列组合,可以使用相同的列创建多个索引
B不正确因为简单视图上不能创建索引
C选项不正确,D选项正确
C、D可以参考11g的联机文档的INDEX部分:
http://docs.oracle.com/cd/E11882_01/server.112/e40540/indexiot.htm#CNCPT88833
摘录如下:
You can create multiple indexes using the same columns if you specify distinctly different permutations of the columns. For example, the following SQL statements specify valid permutations:
相同列上可以创建多个索引,如果指定了不同列组合,下面的例子就是有效的:
CREATE INDEX employee_idx1 ON employees (last_name, job_id);
CREATE INDEX employee_idx2 ON employees (job_id, last_name);
C选项不正确,D选项正确
C、D可以参考11g的联机文档的INDEX部分:
http://docs.oracle.com/cd/E11882_01/server.112/e40540/indexiot.htm#CNCPT88833
摘录如下:
You can create multiple indexes using the same columns if you specify distinctly different permutations of the columns. For example, the following SQL statements specify valid permutations:
相同列上可以创建多个索引,如果指定了不同列组合,下面的例子就是有效的:
CREATE INDEX employee_idx1 ON employees (last_name, job_id);
CREATE INDEX employee_idx2 ON employees (job_id, last_name);
0 0
- OCP-1Z0-051 第48题 索引
- OCP-1Z0-051 第46题 约束和索引
- OCP-1Z0-051 第47题 索引
- OCP-1Z0-051 第10题
- OCP-1Z0-051 第54题
- OCP-1Z0-051 第60题
- OCP-1Z0-051-题目解析-第48题
- OCP-1Z0-051-2015-48题
- OCP-1Z0-051-题目解析-第1题
- OCP-1Z0-051 第3题 转义字符
- OCP-1Z0-051 第4题 单行函数
- OCP-1Z0-051 第11题 sql运算顺序
- OCP-1Z0-051 第12题 别名的用法
- OCP-1Z0-051 第13题 q操作符
- OCP-1Z0-051 第14题 DISTINCT去重
- OCP-1Z0-051 第15题 别名的用法
- OCP-1Z0-051 第18题 distinct用法
- OCP-1Z0-051 第19题 INTERVAL用法
- 求最大递增数
- CountLetterInArray
- HDU2089 不要62
- hdu 1102 Constructing Roads 最小生成树
- [NOI2005]维修数列(SplayTree)
- OCP-1Z0-051 第48题 索引
- 堆排序总结【转】
- android MediaPlayer 的使用背景音乐的播放
- C++primer plus第六版课后编程题答案15.4
- OC基础—集合之NSSet、NSDictionary(字典)、NSMutableDictionary
- paip.输入法编程--英文ati化By音标原理与中文atiEn处理流程 python 代码为例
- paip.前端加载时间分析之道优化最佳实践
- paip.多维理念 输入法的外码输入理论跟文字输出类型精髓
- 2014-4-21