ITPub博客

首页 > 数据库 > Oracle > OCP 1Z0-051-47

OCP 1Z0-051-47

原创 Oracle 作者:LuiseDalian 时间:2014-05-13 07:30:09 0 删除 编辑
(47)View the Exhibit and examine the structure of ORD and ORD_ITEMS tables.

The ORD_NO column is PRIMARY KEY in the ORD table and the ORD_NO and ITEM_NO columns are composite PRIMARY KEY in the ORD_ITEMS table.



Which two CREATE INDEX statements are valid? (Choose two.)

A. CREATE INDEX ord_idx1 ON ord(ord_no);

B. CREATE INDEX ord_idx2 ON ord_items(ord_no);

C. CREATE INDEX ord_idx3 ON ord_items(item_no);

D. CREATE INDEX ord_idx4 ON ord,ord_items(ord_no, ord_date,qty);



答案:(B、C)

解析:

A(X),不能在主键列上再次创建索引

D(X),索引不能同时建立在2个表上




来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1159556/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: OCP 1Z0-051-49
下一篇: OCP 1Z0-051-50
请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6041765