Select para extraer de un JSON los elementos un nodo de tipo lista.
select id
from json_table('{"list_ids": [1,2,3,4]}'
format json, '$.list_ids[*]'
columns (
id number path '$'));
ID ---------- 1 2 3 4
Select para extraer de un JSON los elementos un nodo de tipo lista.
select id
from json_table('{"list_ids": [1,2,3,4]}'
format json, '$.list_ids[*]'
columns (
id number path '$'));
ID ---------- 1 2 3 4