I Have this JSON colunm in my MYSQL (one row):
[{"motivo": {"id": 60}, "documento": {"id": 3}, "motivoStr": "Comprovante de Endereco"},
{"motivo": {"id": 61}, "documento": {"id": 4}, "motivoStr": "Comprovante de Renda"}]
I need format this in mysql Query, to concat all "motivoStr" with delimiter, example:
select ANY_COMMAND from a;
Output:
Comprovante de Endereco<br>Comprovante de Renda
The command JSON_TABLE dont work because the version of server is: 5.7.12