I need to get the fields from JSON that is stored in VARCHAR. In addition this should be done within one SELECT statement without wrapper.
For e.g.
What I need(this is obviously not a valid sql, just for clarification of what I need):
SELECT
CONVERT_from(column_in_varchar, ‘JSON’).data
FROM table
The following code is unacceptable:
SELECT t.column_in_json.data
FROM
(SELECT CONVERT_FROM(column_in_varchar, ‘JSON’)
FROM table));
Do you have any ideas?