Question { IBM, 44004 }
How can you find the 2nd Highest salary in a file department wise in abinitio?
Answer
you can use roll up to calculate dept wise salary first and
then sort it with key as sal. create indexes using
next_in_sequence() and then filter out the 2nd record.
hope this helped!!