hi,
hi,
I have two tables like below,I need to check whether table1 data is matching with table2 data based on supplier.Here problem is
in table1 we have two suppliers ebay and amazon and it's ids are 1 and 2 for other suppliers it should be anything.In table2
for ebay and amazon and it's ids are 11 and 22.By using inner join i can match these data but for ebay and amazon id's are differnet
in table2.I need to check these two tables when in table1 ebay and amazon suppliers ids are 1 and 2 and in table2 ebay and amazon suppliers ids are 11 and 22
as per business logic and for remaining suppliers wat ever ids are present in table1 should match with table2 suppliers wat ever ids are present except ebay and amzon
.for ebay and amzon ids are 11 and 22.any one can help me on this querry.
table1:
Supplier id value ebay 1 4 amazon 2 5 aa 3 6
table2:
Supplier id value ebay 11 4 amazon 22 5 aa 3 6