SELECT
json_extract_path_text(olrph.RESPONSE, 'code') AS code,
json_extract_path_text(olrph.RESPONSE, 'data.code') AS datacode,
json_extract_path_text(olrph.RESPONSE, 'response.data.code') AS responsedatacode,
FROM
olrph;
I can't seem to get this to concatenate.
SELECT
json_extract_path_text(olrph.RESPONSE, 'code') AS code,
json_extract_path_text(olrph.RESPONSE, 'data.code') AS datacode,
json_extract_path_text(olrph.RESPONSE, 'response.data.code') AS responsedatacode,
CONCAT_WS('',json_extract_path_text(olrph.RESPONSE, 'code'), json_extract_path_text(olrph.RESPONSE, 'data.code'), json_extract_path_text(olrph.RESPONSE, 'response.data.code')) AS concatenated_strings
FROM
olrph;
I have tried various ways but the column appears as blank