Hi Guys, Can anybody let me understand how this query is working.
I am confused in flow of query.. Plz tell me how the flow is going on... Thanks in advance

select distinct(a.salary)
from employees a
where 2=(select count(distinct(b.salary))
from employees b
where a.salary<=b.salary);