I got the correct column now in output. If I want to get correct value from the another table i.e. table B. Where I should get US/UK from the company name which is at 4th position after delimiter underscore. So, when it is Unclassified then it should get the data from table B.