laserlight;10981080 wrote:"Obvious" is subjective and a matter for debate, but the first part of what you want to do is straightforward. The second part can be achieved with functions like [man]levenshtein/man and [man]similar_text/man.
Hi Laserlight, thanks for actually trying to help me with my question.
Since I have no idea how to write an SQL query to filter the results to show duplicate table entries, would you mind pointing me in the right direction?
Lets say I'm looking at this:
[CODE]username | favourite_animal
John | cat
Fred | dog
Eric | cat
Peter | canary
Julie | elephant
Sam | canary[/CODE]
How can I filter it to display:
[CODE]username | favourite_animal
John | cat
Eric | cat
Peter | canary
Sam | canary[/CODE]
Thank you.