maybeyonasUniswap v2 vs v3 difference
    Updated 2021-09-12

    -- select * from ethereum.dex_swaps -- may 10, jun 8 , jul 29 , sep 10
    -- where platform = 'uniswap-v2'
    -- and date(block_timestamp) = date_from_parts(2021,09,10) and amount_usd is not null
    -- order by amount_usd desc
    -- limit 100

    with swaps as(
    select
    block_timestamp,
    tx_id,
    platform,
    amount_usd as swap_vol
    from ethereum.dex_swaps
    where platform in ('uniswap-v2','uniswap-v3') and direction ='OUT'
    and pool_name not in ('SYFI-WETH LP','UNL-WETH LP','WETH-HACHIKO LP','YUAN-USDX LP','YUAN-WETH LP','CYFM-WETH LP')
    ),
    daily as(
    select
    date(block_timestamp) as date,
    platform,
    sum(swap_vol) as swap_vol
    from swaps
    group by date(block_timestamp), platform
    ),
    v2 as(
    select *
    from daily
    where date > date_from_parts(2021,05,05) and platform = 'uniswap-v2'
    ),
    v3 as(
    select *
    from daily
    where date > date_from_parts(2021,05,05) and platform = 'uniswap-v3'
    )

    Run a query to Download Data