Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL Query to find out similar names in two tables

549760Apr 13 2007 — edited Apr 14 2007
Hi,

I want to write a query which will return the records by matching the two table with the similar name.

that is I have two tables table1 and table2, and in table1 the column1 is having data like
ABC INC
The international Company


and in the table2 has the column1 which has the data like
ABC Corp
The Financials Corporation

So as per the requirement now my select query should return 1 row as ABC INC and ABC Corp are similer.

and both the tables have around 50,000 reords so I cannot just take the first word by using substring and tryto match both, this will work only for names like ABC INC and ABC Corp but it will not return the names like

"Instruments International Company" and "International Instruments Company"

Please can any one help me?

Regards,
Chanda
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2007
Added on Apr 13 2007
14 comments
3,571 views