select validator_label as "Validator", Sum(amount) as "Total Undelegations Volume", count(distinct tx_id) as "Total Undelegations Count"
from terra.core.ez_staking
where block_timestamp::date>='2023-01-01' and tx_succeeded='TRUE' and action='Undelegate' and validator_label is not null
group by 1
order by 2 desc
limit 30