【发布时间】:2014-07-07 22:11:24
【问题描述】:
select distinct salary
from downtodate1.employe AS e1
where 3 = (
select count(distinct salary)
from downtodate1.employe e2
where **e1.salary <= e2.salary**
);
请解释一下行
e1.salary <= e2.salary
【问题讨论】:
-
那条线你有什么不明白的地方?请更具体地提出您的问题。
-
<=是“小于或等于”,如果这是您所要求的。但是我不知道您不理解该表达的哪个特定部分,因此请澄清您的问题。
标签: sql plsql correlated-subquery