首页 > 数据库 > Oracle > OCP 1Z0-051-47
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.
|
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); |
解析:
A(X),不能在主键列上再次创建索引
D(X),索引不能同时建立在2个表上
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1159556/ ,如需转载,请注明出处,否则将追究法律责任。