-- forked from 82088ee5-49d1-4cc2-b21e-08b1d39ca1a5
select
count(RECEIVER) as claimer,
sum(amount / 1000000) as amount_claimed,
amount_claimed / claimer as average_amount_claimed
from
terra.core.ez_transfers
where
sender = 'terra1qdg94xw7vru5x57zf0gsjak7qzq46kptfm6y0s8ypsx3aqn9h7ts4p406e'
order by
2 DESC