返回数说广场
0
单选题考虑如下语句:
select last_name, (select count(*) from departments) from employees where salary = (select salary from employees);
请问上述SQL错在哪里?
A
语句错误在于条件子查询返回值超过1条
B
语句能够执行但是效率很低,因为EMPLOYEES表的每条记录都需要运行第2个子查询1次
C
语句错误在于SELECT列表中的子查询引用了没有包含在FROM子句中的表
D
语句没有错误,将会成功运行
0
0 173
分享
评论
热门数说



