Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
This is my input table which contains ID, Name, and ManagerID.
And my requirement is to create a table which contains ID, Name, ManagerID, and ManagerName.
Hi,
you could create the field inside script
LOAD * FROM TABLE;
Left Join
LOAD
ID as ManagerID,
Name as ManagerName
Resident TABLE;
If you show this table, I can think this way
If(Manager_ID = 1, 'A', Null()) as Manager_Name
Hi,
you could create the field inside script
LOAD * FROM TABLE;
Left Join
LOAD
ID as ManagerID,
Name as ManagerName
Resident TABLE;
Thanks StarinieriG that worked perfectly.