How to find duplicate names by using the Levenshtein distance?
How having a user-defined function Levenstein find duplicates in a table Clients with the names of last_name?
Distance should not exceed 2. It turns out that you need to compare each name with the others. I can not understand how it is done in SQL.