MLDZMNVO10
    Updated 2022-09-30
    with tb1 as (select
    VOTER,
    count(*) as vote_count
    from ethereum.core.ez_snapshot where NETWORK= 'Ethereum Mainnet'
    and VOTE_TIMESTAMP>='2022-01-01'
    group by 1)

    select
    case
    when vote_count<5 then '1. under 3 votes'
    when vote_count>=5 and vote_count<15 then '2. 3-10 votes'
    when vote_count>=10 and vote_count<50 then '3. 10-50 votes'
    when vote_count>=50 then '4. Over 50 votes'
    end as gp,
    count(distinct voter) as no_voter
    from tb1
    group by 1 having gp is not null
    Run a query to Download Data