https://dev.mysql.com/worklog/task/?id=11574
MySQL :: WL#11574: Add JSON_ARRAYAGG and JSON_OBJECTAGG windowing functions
mysqlwladdjsonwindowing
https://learn.microsoft.com/en-us/sql/t-sql/functions/json-objectagg-transact-sql?view=sql-server-ver17&viewFallbackFrom=sql-server-ver15
JSON_OBJECTAGG (Transact-SQL) - SQL Server | Microsoft Learn
JSON_OBJECTAGG constructs a JSON object from an aggregation of SQL data or columns.
sql serverjsontransactmicrosoftlearn
https://docs.oracle.com/en/database/oracle/oracle-database/26/adjsn/sql-json-function-json_objectagg.html
SQL/JSON Function JSON_OBJECTAGG
SQL/JSON function json_objectagg constructs a JSON object by aggregating information from multiple rows of a grouped SQL query as the object members.
sqljsonfunction