HeminVoting Records - Flipside and Terra Bites
Updated 2022-03-16
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 flipside as
(
select *
from
terra.gov_vote
where
voter_address_label='flipside'
)
, bites as
(
select
proposal_id as pid
, voter_address_label as label
, option as vote
from
terra.gov_vote
where
voter_address_label='Terra Bites'
)
, joint_votes as
(
select
coalesce(a.proposal_id, b.pid)::integer as Proposal_ID
, a.voter_address_label
, a.option as Flipside_vote
, b.label
, b.vote as Terra_Bites_Vote
from
flipside a
full join
bites b
on
a.proposal_id=b.pid
order by
Proposal_ID desc
)
Run a query to Download Data