I have a table named 't1' and column named salary and i want to find out 4th maximum salary? I know how to find it using analytic functions and so on..but i don't know how this level process works?
t1
salary
-------
10000
20000
40000
50000
30000
60000
45000
select level,max(salary) from t1 where level=4 connect by prior salary > salary group by level.......How this query works?