I have 2 tables (From 2 tools agents use) and I need to join them a different levels: country, etc...
One of levels I need to join them is a code that indicate your role in the company. Problem is that this code is entered in 2 different ways in in both tools but they are the same meaning.
For example, in one tool is entered as "att/m T1" and in the other tool is entered as 'att/m" so a join would not join these 2. It is not only one case, but I have different scenarios where codes are entered somehow differently.
I need to join at this field. How could I solve this issue? I tried to create Case When, but it is not scalable. Any idea how I could tackle this?
Thanks!