rahoUntitled Query
Updated 2023-04-13
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with a_s as (
select
date(proposal_start_time) as start_date,
space_id,
proposal_id,
proposal_title
from ethereum.core.ez_snapshot
),
proposals as (
select
-- start_date,
space_id,
count(distinct proposal_title) as num_props
from a_s
group by 1),
grouped as (
select
start_date,
proposal_title,
space_id as DAO
from a_s
where start_date > '2022-01-01'
)
select
DAO,
count(distinct proposal_title) as "Number of Proposals"
from grouped
group by 1
order by "Number of Proposals" desc
-- select
Run a query to Download Data