mattkstewPII SnapShot 5
    Updated 2022-08-12
    with tab1 as (
    select
    voter,
    count(*) as votes


    from ethereum.core.ez_snapshot
    group by 1
    )


    select
    case
    when votes = 1 then '1 Vote'
    when votes between 1 and 3 then 'Between 1 and 3 Votes'
    when votes between 3 and 5 then 'Between 3 and 5 Votes'
    when votes between 5 and 7 then 'Between 5 and 7 Votes'
    when votes between 7 and 10 then 'Between 7 and 10 Votes'
    Else 'Greater than 10 Votes'
    end as Voter_Votes_Distribution,
    count(*)

    from tab1
    group by 1
    Run a query to Download Data