Hello,
Can we compare two tables in perl? I mean How can we do it for database tables.
I would like to know the solution for below scenario in perl script.
Here are 2 tables:
Table 1
Names City
aaaaa hyd
bbbbb bang
ccccc chen
dddddd noida
eeeeeee hyd
ffffffffffff chen
Table: 2
Names Organization
aaaaa TCS
bbbbb Infosis
sssss TCS
dddddd Infosis
eeeeeee NTT
ccccc NTT
When i compare this tables: When i compare Names of two columns, the result should be like this:
Name City Organization
aaaaa hyd TCS
bbbbb bang Infosis
ccccc chen NTT
dddddd noida Infosis
I need organization details from table 2 which has same name in both table 1 and 2.
Thank you for help !