You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following example returns a result with four columns from a `SELECT` statement containing `SUM` and `JSON_OBJECTAGG` aggregates with `GROUP BY GROUPING SETS`. The first two columns return the `id` and `type` column value. The third column `total_amount` returns the value of `SUM` aggregate on the `amount` column. The fourth column `json_total_name_amount` returns the value of `JSON_OBJECTAGG` aggregate on the `name` and `amount` columns.
0 commit comments