$ 0 0 Try this one: sel * from tb1 a , tb2 b where b.cntry_code like '%'||trim(a.cntry_code)||'%' ; You will get these pairs: a.cntry_code b.cntry_code FL FL,CHG,MN DET DET CHG FL,CHG,MN MN FL,CHG,MN MN MN,MN Regards
Try this one:
sel * from tb1 a , tb2 b
where b.cntry_code like '%'||trim(a.cntry_code)||'%' ;
You will get these pairs:
a.cntry_code b.cntry_code
FL FL,CHG,MN
DET DET
CHG FL,CHG,MN
MN FL,CHG,MN
MN MN,MN
Regards