PapasotAl Goanna holders Algo Balance
Updated 2023-01-03
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
›
⌄
with Algoannas as (
select *
from algorand.asset
where ASSET_NAME like '%Al Goanna%'
and ASSET_DELETED= false
and creator_address= 'D5J7H7PIYKLY2U6A5OFUAC7GQHTHSXXNX65DSD3CJYPBV2MVK6NTNW44CA'
order by asset_name)
select
count(DISTINCT(address)),
case
when balance between 0 and 1 then '0-1 Algo'
when balance between 1 and 100 then '1-100 Algo'
when balance between 100 and 10000 then '100-10000 Algo'
when balance between 10000 and 1000000 then '10000-1000000 Algo'
else '1000000+ Algo'
end as Buckets
from algorand.account_asset
left join Algoannas b using (asset_name)
left join algorand.account c using (address)
where ASSET_NAME like '%Al Goanna%'
and amount = '1'
and b.creator_address= 'D5J7H7PIYKLY2U6A5OFUAC7GQHTHSXXNX65DSD3CJYPBV2MVK6NTNW44CA'
and asset_id is not null
and asset_name is not null
group by Buckets
order by Buckets
Run a query to Download Data