Answer the question
In order to leave comments, you need to log in
How to correctly make Mysql "exact" like query?
There is a table with articles,
In it I need to find all the records where the word " trọn " occurs in the article
SELECT * FROM `url_content` WHERE `content` LIKE '% trọn %' limit 2
Answer the question
In order to leave comments, you need to log in
My solution was the following:
It was possible to LIKE, but I went by MATCH AGAINTS since all articles weigh about 70 GB.
And then in PHP - strpos(); to find a specific key.
That turned out to be the fastest.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question