I have a table in my database that stores packing lists and their information. I am trying to query this table and get each unique address. I came close, but I still have a lot of misses, and I'm looking for a way to exclude these close duplicates from my choice.
Data examples
CompanyCode CompanyName Addr1 City State Zip
10033 UNITED DIE CUTTING & FINISHIN 3610 HAMILTON AVE CLEVELAND Ohio 44114
10033 UNITED DIE CUTTING & FINISHING 3610 HAMILTON AVE CLEVELAND Ohio 44114
10033 UNITED DIE CUTTING & FINISHING 3610 HAMILTON AVE. CLEVELAND Ohio 44114
10033 UNITED DIE CUTTING & FINISHING 3610 HAMILTON AVENUE CLEVELAND Ohio 44114
10033 UNITED DIECUTTING & FINISHING 3610 HAMILTON AVE CLEVELAND Ohio 44144
10033 UNITED FINISHING 3610 HAMILTON AVE CLEVLAND Ohio 44114
10033 UNITED FINISHING & DIE CUTTING 3610 HAMILTON AVE CLEVELAND Ohio 44114
And all I want is 1 entry. Is there a way to get an “average” record? Meaning, if most records say CLEVELAND, not CLEVLAND, I want my 1 record to say CLEVELAND. Is there any way to compare this data with what I'm looking for?
Desired output
CompanyCode CompanyName Addr1 City State Zip
10033 UNITED DIE CUTTING & FINISHING 3610 HAMILTON AVE CLEVELAND Ohio 44114
source
share