write query for fourth maximum salary from employee table
select salary from employee aa where 4=(select count(*)from employee bb where aa.salary<=bb.salary)