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



