1.
select distinct(a.salary)
from emp a
where 22 =
(select count(distinct b.salary)
from emp b
where a.salary>=b.salary);