Moglix interview question

View, Nth highest salry, window function, rank