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
Oracle (and possibly other DBs) support a GROUP_ID() function that allows for distinguishing between duplicate groupings in a GROUPING SETS configuration. For example:
SELECT a, GROUP_ID()
FROM t
GROUP BY GROUPING SETS ((a), (a))
Oracle (and possibly other DBs) support a
GROUP_ID()
function that allows for distinguishing between duplicate groupings in aGROUPING SETS
configuration. For example:See: https://docs.oracle.com/database/121/SQLRF/functions079.htm
The text was updated successfully, but these errors were encountered: