Hi,
I have two tables with data. Two of the tables have a brand name a brand number that should be exact and both tables have numbers that are distinctive. And a third table with exact alias brand names. I need to look at the alias list and make sure that both Abrand and Bbrand match and exact BrandNm. I feel there is a simple way but I been trying for the past three hours and cant get any where except, doing a innerjoin with [TableOne].[ABrandNm] = [TableTwo].[BrandNam] .
Any help is appreciated.
I.e:
Table One | ||
Abrand | ABrandNm | TableoneSKu |
pepsi | 8PEP | 1234 |
pepsi | 9PEP | 2345 |
Table Two | ||
Bbrand | BBrandNm | TableTwoSku |
Copepsi | 8PEP | abc12 |
pepsi | 9PFP | abc345 |
Table Three | |
Abrand | Bbrand |
Pepsi | Copepsi |
Pepsi | Pepsi |