-1
I have a table that has more than 1 million data that I want to filter through an acronym that can be anywhere in the String field. It has BTREE index in Mysql. I’m doing it this way:
select instituicao, count(instituicao)
from base_wos
WHERE instituicao LIKE '%{$Sigla}%' GROUP BY instituicao limit 1250000;
When executing this query I get no return, and the same has non-zero amount in the database.
I am using the Mysql Workbench tool.
This query is inside a PHP?
– Miguel Angelo
I am using the Mysql Workbench itself.
– Igoto
In fact Group By institution ? and {$acronym} Workbench will not understand only in PHP this ...
– user6026
I forgot to put here more is with the group yes.
– Igoto
It was because of this strange excerpt that I asked if I was using PHP:
'%{$Sigla}%'
.– Miguel Angelo