mysql -u root -ptoninho13 qualifica_brasil -B -e "select group_concat(concat(acentuada,'[',IFNULL((select 'ok' from classificacoes_tokens where acentuada=nome_token), 'XXXXXX'),']') order by ordem separator ' ') as titulo  from frases join tokens on id_token=id_chave_token group by id_titulo;"
