OCP-1Z0-新051-61题版本-15

QUESTION NO: 15

The COMMISSION column shows the monthly commission earned by the employee.

Exhibit


Which two tasks would require sub queries or joins in order to be performed in a single step? (Choose two.)

A. listing the employees who earn the same amount of commission as employee 3

B. finding the total commission earned by the employees in department 10

C. finding the number of employees who earn a commission that is higher than the average commission of the company

D. listing the departments whose average commission is more that 600

E. listing the employees who do not earn commission and who are working for department 20 in descending order of the employee ID

F. listing the employees whose annual commission is more than 6000

Answer: A,C

答案解析:

A首先查询出employee 3的commission ,然后再找出与employee 3一样的commission 的雇员,使用到子查询,正确。

C首先查询出平均的commission ,在找出比这个平均高出的数量,使用到子查询,正确。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值