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
SELECT
bucket(amount by 500),
bucket(amount by 200),
bucket(amount by 100),
count(*),
grouping_id(
bucket(amount by 500),
bucket(amount by 200),
bucket(amount by 100)
)
FROM
loans
GROUP BY GROUPING SETS (1,2,3)