I need to return the number of occurrences closest to REGEXP, see the example below:
SELECT * FROM tabela WHERE nome_produto REGEXP 'vestido|longo|manga|curta'
The idea is that this query returns me like this
But it returns something like:
Anyway, it's not ordered by the largest number of occurrences, can you do that? This is for a simple search engine I need to do ..