0
In Mysql how to create a select that searches "together" words. For example:
SELECT pessoa FROM tabela
WHERE pessoa like '%josedasilva%'
But in this way nothing returns. Because it is registered as "José da Silva". I would like you to return more records, covering a broader search, that is, not so specific.
The search is done through an html field via php.
I believe it is ideal to use the
Full-Text Search
, instead ofLIKE
.– Inkeliz
I find that the search with Full-Text is less extensive. Select pessoa from table WHERE MATCH(person) AGAINST (' josedasilva' IN BOOLEAN MODE)
– Eder