willdevelope
Programmer
How do I write where clause to compare first two character in two differect table to show the first two don't match
***If Storage first two letters don't match Quantity please show first two letters only
Ex
The data tables quantity and storage
Quantity.unit Storage.area
CS cs,pk,pl
CS cs,pk,pl
CS cs,pk,pl
CS <-- --> pk,pl,cs--first two letter don't match show data
***Desired out put***
Quantity Storage
cs pk
***If Storage first two letters don't match Quantity please show first two letters only
Ex
The data tables quantity and storage
Quantity.unit Storage.area
CS cs,pk,pl
CS cs,pk,pl
CS cs,pk,pl
CS <-- --> pk,pl,cs--first two letter don't match show data
***Desired out put***
Quantity Storage
cs pk