I have a database of books. There can be situations where an author can use variations of their names as author.
For eg. Albert Einstein can be written as Albert E. or A. Einstein
Now I need to create a method such that SQL database and tell me the ID of the author based on such situations.
Is there a built in way to convert these multiple variations of a name into a single type within SQL language such as PostgreSQL?
Or Should I change the name using some another language such as C, C++ or Python to convert the name into a particular form and then send to database?
I would rather have a method within SQL instead of using some another language
You could use PostgreSQL full text search with a thesaurus dictionary. The configuration file would then contain