Hello,
I have a requirement as follows:
Input: File with three fields
Empid. Empname Mgrid.
Output:
Empid. Empname Mgrname
Explanation: Input file consists of three fileds, in which mgrid is the field which contains the Mgr info.
Same id is present in the empid too, so we have to retreive the name of that emp and have to be given as
Mgr name in the output field which has those particular values in the input.
Eg. I/p: 1 a 3 O/p: 1 a c
2 b 3 2 b c
3 c 3 3 c c