How can I use the mysql soundex function as a parameter like
for example I have a people table with the name Poliana Mendes Silva
I want to search with soundex all the "polianas" of the bank ignoring the rest of the name
How can I use the mysql soundex function as a parameter like
for example I have a people table with the name Poliana Mendes Silva
I want to search with soundex all the "polianas" of the bank ignoring the rest of the name
I was able to solve this problem
"SELECT * FROM Customers WHERE SOUNDEX (SUBSTRING_INDEX (COMPLETE_NAME, '', 1)) = SOUNDEX ('PAULA') AND SUBSTRING_INDEX (COMPLETE_NAME, '', -1) = '
You can try this:
select * from clientes
where (soundex(nome) LIKE concat('%',soundex('POLIANA'),'%'))