Oracle 19c how to write a stored procedure with JSON output, I'm having trouble formatting the query to return a specific JSON object
The issue when I don't use AGG type I get a 'ora-01422: exact fetch returns more than requested number of rows using a json_object put into clob so using JSON_ARRAYAGG works I just haven't been able to figure out how…