I have two tables that I would like to compare for duplicates. These tables are just basic company information fields like name, city, state, etc. The only possibly common field that I can see would be the name column but the names are not quite exact. Is there a way that I can run a comparison between the two using a LIKE statement? I’m also open to any additional suggestions that anyone may have.
Thanks.
I would try matching using a Double Metaphone algorithm, which is a more sophisticated SOUNDEX-type algorithm.
Here is a MySQL implementation.