Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
Print Minimum & Maximum Salary of Respective Employee
NAME SAL
---- ---
A 4000
B 3000
C 8000
A 2000
B 7000
C 5000
B 2000
C 9000
A 1000
If I will use Sort ---> Aggregator Group by then it will give 3 columns like NAME,MAX(),MIN()
NAME MAX() MIN()
---- ----- -----
A 4000 1000
But my requirement is to generate the output which will give the maximum & minimum salary in a single col w.r.t the employees.Like below :
NAME SAL(Sal column will contain only minimum and maximum salary for respective employees)
NAME SAL
---- ---
A 4000
A 1000
B 7000
B 2000
C 9000
C 5000
Profile Answers by Aloka Questions by Aloka
Questions by Aloka answers by Aloka
Related Answered Questions
Related Open Questions