Everyone knows the "=" sign.
SELECT * FROM mytable WHERE column1 = column2;
However, what if I have different content in columns1 and column2 ... but are they VERY similar? (maybe turned off by a space or have another word).
Is it possible:
SELECT * FROM mytable WHERE ....column matches column2 with .4523423 "Score"...
I think this is called fuzzy matching? Or pattern matching? This is a technical term for him.
EDIT: I know about Soundex and Levenstein disatance. Is that what you recommend?
What you are looking for is called Levenshtein distance . It gives you a numerical value that determines the difference between two lines.
MySQL . articla, .
, . , .
, , - , Python. ( - "python", , Python...)
ORM Python, Python , Python . , Python Levenstein - .
ORM Python, , SQLAlchemy. ORM Django ; , . ORM , ORM Django . , SQLAlchemy.
!
Source: https://habr.com/ru/post/1720218/More articles:Помогите мне понять управление памятью в Objective-C и Cocoa - memory-managementMVC routing does not work on search - query-stringVBA: запрос доступа с помощью Excel. Почему так медленно? - vbaЭкзамен столкновения круглого прямоугольника - geometryHow to get a point with minimum X from an array of points without using OrderBy? - c #JQuery panel How-strong-the-your-password - jqueryWill a change in the path to the IIS source directory trigger a restart? - iisIs there a way to overlay text on NotifyIcon? - c #Ошибка Sitecore: AddFromTemplate - добавление доступа требуется - sitecoreWhy is Subversion unable to commit .htaccess files? - svnAll Articles