MLDZMNGeneral table of voting performance on various networks
    Updated 2023-01-12
    select
    'Osmosis' as network,
    min(BLOCK_TIMESTAMP) as first_captured_vote,
    count (distinct tx_id) as no_votes,
    count (distinct voter) as no_voters,
    count(distinct PROPOSAL_ID) as no_proposal,
    no_votes/no_proposal as vote_per_proposal,
    no_voters/no_proposal as voter_per_proposal
    from osmosis.core.fact_governance_votes
    where TX_SUCCEEDED = 'TRUE'
    group by 1

    union all

    select
    'Cosmos' as network,
    min(BLOCK_TIMESTAMP) as first_captured_vote,
    count (distinct tx_id) as no_votes,
    count (distinct voter) as no_voters,
    count(distinct PROPOSAL_ID) as no_proposal,
    no_votes/no_proposal as vote_per_proposal,
    no_voters/no_proposal as voter_per_proposal
    from cosmos.core.fact_governance_votes
    where TX_SUCCEEDED = 'TRUE'
    group by 1

    union all

    select
    'Terra' as network,
    min(BLOCK_TIMESTAMP) as first_captured_vote,
    count (distinct tx_id) as no_votes,
    count (distinct voter) as no_voters,
    count(distinct PROPOSAL_ID) as no_proposal,
    no_votes/no_proposal as vote_per_proposal,
    no_voters/no_proposal as voter_per_proposal
    Run a query to Download Data