with topaddr as
(SELECT * from ethereum.erc20_balances
where contract_address = lower('0x2e9d63788249371f1DFC918a52f8d799F4a38C94') and balance_date = '2022-01-01' and label is NULL and balance < pow(10,6)*2.4
and user_address not in (SELECT address from ethereum.core.dim_contracts)
order by balance desc
limit 10 )
SELECT * from topaddr
-- limit 1000