MLDZMNVO11
Updated 2022-09-30
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
›
⌄
with tb1 as (select
VOTER,
count(distinct PROPOSAL) as no_proposals
from solana.core.fact_proposal_votes
where SUCCEEDED='TRUE' and BLOCK_TIMESTAMP>='2022-01-01'
group by 1)
select
case
when no_proposals<3 then 'a. under 3 proposals'
when no_proposals>=3 and no_proposals<10 then 'b. 3-10 proposals'
when no_proposals>=10 and no_proposals<20 then 'c. 10-20 proposals'
when no_proposals>=20 then 'd. Over 20 proposals'
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