2 つの列の値を比較する必要があるテーブルがあります。
Col1 Col2 Col3
------------------------------------
1 sssXYZ2121 XYZ
現在、一致は単語間の完全な一致ではない場合があります。
試合の例
Col2 Col3
----- --------------------
XYZ XYZ (word to word match)
XYZ xyz (can be case insensitive)
XYZ gxyzf (need to search within a string )
XYZ xyzjjjjjjjjj (need to search within a string )
XYZ gggggXYZ (need to search within a string )
XYZ Xavier Yellow Zebra (Match the full form of the abbreviation)
ここで、 の値がCol3
一致しないすべての行を見つける必要がありますCol2
。Oracle 10g を使用しています。