alirsTop Toke Holder-22 June 2022
Updated 2022-06-22
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
›
⌄
with top_Toke_Holder as(
select distinct (USER_ADDRESS),
avg(BALANCE)
from flipside_prod_db.ethereum.erc20_balances
where
CONTRACT_ADDRESS = lower('0x2e9d63788249371f1DFC918a52f8d799F4a38C94')
and balance_date between '2022-01-01'and'2022-01-31'
group by user_address
order by avg(BALANCE) DESC
limit 10)
select
distinct (USER_ADDRESS),
avg(BALANCE)
from flipside_prod_db.ethereum.erc20_balances where USER_ADDRESS IN (select distinct USER_ADDRESS from top_Toke_Holder)
and balance_date='2022-06-22'
group by user_address
order by avg(BALANCE) DESC
limit 10
Run a query to Download Data