Sandeshwho loses redelegates more ? osmo
    Updated 2022-07-18
    select
    fs.VALIDATOR_ADDRESS as destination,
    dl.label as labels,
    count(distinct fs.tx_id) as redelgates
    from osmosis.core.fact_staking fs
    inner join osmosis.core.dim_labels dl
    on dl.address=fs.VALIDATOR_ADDRESS
    where
    action='redelegate'
    and
    fs.block_timestamp > current_date - interval '3 months'
    group by destination, labels
    order by redelgates desc
    limit 5

    Run a query to Download Data