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