Mysql OCP 44题

Consider the index information for the dept_emp table in the employee’s schema:https://www.cndba.cn/hbhe0316/article/22783

https://www.cndba.cn/hbhe0316/article/22783
https://www.cndba.cn/hbhe0316/article/22783
https://www.cndba.cn/hbhe0316/article/22783

Which two conclusions can be made based on the output of the query?
A. There are three indexes on the table.
B. There is a redundant index on the dept_no column.
C. The secondary indexes are optimized for unique key look-ups.
D. The values on the emp_no column must be unique.
E. The selectivity of the dept_no column is the best of the indexed columns.
F. There is a redundant index on the emp_no column.
Answer: AFhttps://www.cndba.cn/hbhe0316/article/22783

https://www.cndba.cn/hbhe0316/article/22783
https://www.cndba.cn/hbhe0316/article/22783 https://www.cndba.cn/hbhe0316/article/22783

下面哪两个结论是正确的?
A. 表上有3个索引
B. Dept_no字段上存在一个冗余索引
C. 辅助索引针对唯一键查询存在优化
D. Emp_no字段必须是唯一的
E. Dept_no字段的选择性是最好的
F. Emp_no字段上存在一个冗余索引

https://www.cndba.cn/hbhe0316/article/22783
https://www.cndba.cn/hbhe0316/article/22783

版权声明:本文为博主原创文章,未经博主允许不得转载。

MYSQL

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值