I have a database containing only "name" column. it has entries like:
boyleston112, boylstonLLC, boylstnLLC
Amendment12, Amend12, Amendmnt
Also, I have distinct entries in the same table. I want such look alike entries to get listed. what query should I write? I have used self join but still there are many entries that are not covered.. the code follows:
SELECT *
FROM #QA_filter QA1
INNER JOIN #QA_filter QA2 ON QA1.name like QA2.name + '%' and QA1.Name<> QA2.Name
please help!