How to read next record while working on the current record (Opposite to LAG function);