superflyUntitled Query
    Updated 2023-07-27
    with mjm as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME='GovHgfDPyQ1GwazJTDY2avSVY8GGcpmCapmmCsymRaGe'---address contract
    group by 1 ),
    moj as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME='GqTPL6qRf5aUuqscLh8Rg2HTxPUXfhhAXDptTLhp1t2J'---address contract
    group by 1 ),
    soli as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME='A7kmu2kUcnQwAVn8B4znQmGJeUrsJ1WEhYVMtmiBLkEr'---address contract
    group by 1 ),
    syn as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME='GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw'---address contract
    group by 1 ),
    grp as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME='GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw'---address contract
    group by 1 ),
    rain as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME= 'GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw'---address contract
    and REALMS_ID='6orGiJYGXYk9GT2NFoTv2ZMYpA6asMieAqdek4YRH2Dn'
    group by 1 ),
    srm as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME= 'AVoAYTs36yB5izAaBkxRG67wL1AMwG3vo41hKtUSb8is' group by 1 ),
    mtpx as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME= 'GMpXgTSJt2nJ7zjD1RwbT2QyPhKqD2MjAZuEaLsfPYLF'---address contract
    group by 1 ),
    mtf as (select distinct PROPOSAL, count(distinct(TX_ID)) as votes
    from solana.core.fact_proposal_votes---i us general tabel
    where PROGRAM_NAME= 'GmtpXy362L8cZfkRmTZMYunWVe8TyRjX5B7sodPZ63LJ'---address contract
    group by 1 ),
    Run a query to Download Data