Updated 2022-04-22
    with token_add as(
    select
    token_address,
    sum(AMOUNT_USD) as Swaps_Volume
    from
    ethereum.dex_swaps
    where
    platform <> 'curve'
    AND
    Direction = 'IN'
    AND
    block_timestamp like '2022-02-24%' --and block_timestamp <= '2022-02-24'
    AND to_address not in ('0x7a250d5630b4cf539739df2c5dacb4c659f2488d', '0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45')
    AND from_address not in ('0x7a250d5630b4cf539739df2c5dacb4c659f2488d', '0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45')
    AND
    token_address not in ('0x3F7Aff0EF20AA2E646290DfA4E67611B2220C597',
    '0x6e36556b3ee5aa28def2a8ec3dae30ec2b208739',
    '0xfd957f21bd95e723645c07c48a2d8acb8ffb3794',
    '0x7e794ed35788b698ae60cefc98ee48015c4876da',
    '0xbd2f0cd039e0bfcf88901c98c0bfac5ab27566e3')
    AND AMOUNT_USD > 0
    GROUP BY token_address
    ORDER BY Swaps_Volume desc
    limit 10)

    select distinct t1.token_address, t.symbol, t1.Swaps_Volume
    from token_add t1 inner join ethereum.token_prices_hourly_v2 t on t1.token_address = t.token_address
    ORDER BY Swaps_Volume desc limit 10
    Run a query to Download Data