Basesafe-peach
Updated 2024-09-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
›
⌄
with
raw as (
select
VOTER ,
PROPOSAL_START_TIME ,
PROPOSAL_ID ,
ID
from external.snapshot.ez_snapshot
where SPACE_ID = 'toshibase.eth'
)
SELECT
PROPOSAL_START_TIME as "Date",
COUNT(DISTINCT id) as "Votes",
SUM("Votes") OVER (ORDER BY "Date" ASC) as "Total Votes"
FROM raw
GROUP BY 1
ORDER BY 1 DESC
QueryRunArchived: QueryRun has been archived