json_table needs the column clause to specify the names and datatypes of the returned columns. select
*
from
json_table('[1,1,2,3,5,8,13,21]');
select
*
from
json_table('[1,1,2,3,5,8,13,21]', '$[*]' COLUMNS (
num number(2) path '$[*]'
))
;