@@antonybabu5205 Oracle has following functions to convert rows to json string: json_array, json_arrayagg, json_object, json_objectagg Check this article for more details: blogs.oracle.com/sql/post/how-to-store-query-and-create-json-documents-in-oracle-database#generate-json