Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Two tables and One table(created manual alias table) to bring back exact values. Sorry I'm new.

$
0
0

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
AbrandABrandNm TableoneSKu
pepsi8PEP1234
pepsi9PEP

2345

Table Two
BbrandBBrandNm TableTwoSku
Copepsi 8PEPabc12
pepsi9PFPabc345


Table Three
AbrandBbrand
PepsiCopepsi
PepsiPepsi


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>