Fetch Next Record Data

How can we fetch next record data for a particular field in ab initio?
i/p
id sal
101 500
102 800
103 900
105 200
o/p
id sal Next_sal
101 500 800
102 800 900
103 900 200
105 200 NULL

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions