The following query returns a result of 11. SELECT EDITDISTANCE('John Smith', 'Jim D. Swain', 2, 1, 1, 2);