• Hey thanks Jinxsee and ChrisM@Work. Your solution works perfect. Thanks a lot.

    One more question for Jinxsee, Suppose if we are using row_number() for a huge records it will minimize performance?