peteer11 light
    Updated 2023-01-21
    select sum(amount) , DELEGATOR_ADDRESS
    from terra.core.ez_staking where year(block_timestamp)=2023 and action in ('Redelegate' , 'Delegate') and block_timestamp::date >='2023-01-15' and block_timestamp::date <='2023-01-21'
    group by 2
    order by 1 DESC
    limit 10
    Run a query to Download Data