This query has bothered me for the past 10 hours. Here we go:
I want to make a comparison with some data that I pull. I pull out the names and I want to remove similar names and not return them in the query.
Example:
I have the following names:
- Seaside heights
- Seaside HGTS
- Talladega
- Torncal Center
- Tornkal ctr
- Yonkers
- Zebraville
I want it to return like this:
- Seaside heights
- Talladega
- Torncal Center
- Yonkers
- Zebraville
Basically, I think it should be a substring (name, 0, 8) to get the first 8 characters, then run this 8 characters against the next entry, and if they match, to ignore it.
Perhaps I am thinking about understanding this. Any insights or concepts that may work will be appreciated.
source share