winnie-fsSolana I dex %
    Updated 2024-01-03
    with

    A as(
    select trim(replace(replace(protocol,'v1'),'v4')) as protocol, sum(volume) as volume
    from external.defillama.fact_dex_volume
    where chain = 'solana'
    and date_trunc('day',date) >= CURRENT_DATE - interval '30 day'
    group by 1)

    select *
    from A
    where volume > 0
    order by volume desc




    QueryRunArchived: QueryRun has been archived