Query editor
withsln_balance as (selectaddress,array_agg(balanceorder byblock_number desc) [1] as balancefromtokens_ethereum.balanceswheretoken_address = 0xDb82c0d91E057E05600C8F8dc836bEb41da6df14and blockchain = 'ethereum'group byaddress)selectcount(*) as count,'0 ~ 10' as "$SLN"fromsln_balancewherebalance > 0and balance < 10union allselectcount(*) as count,'10 ~ 50' as "$SLN"fromsln_balancewherebalance >= 10and balance < 50union allselectcount(*) as count,'100 ~ 500' as "$SLN"fromsln_balancewherebalance >= 100and balance < 500union allselectcount(*) as count,'500 ~ 1000' as "$SLN"fromsln_balancewherebalance >= 500and balance < 1000union allselectcount(*) as count,'1000 ~ 5000' as "$SLN"fromsln_balancewherebalance >= 1000