Avatar of Member_2_1242703
Member_2_1242703
 asked on

SQL Query, comparing 2 tables to find different values in one column with same values in another.

I have two tables both with the following two columns: PartNumber & Location

I need to write a query to compare the two tables. In the result I want every instance in which the same value in column PartNumber has a different value in the column Location.
Microsoft SQL ServerMicrosoft SQL Server 2005Microsoft SQL Server 2008

Avatar of undefined
Last Comment
dqmq

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
dqmq

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61