Updated 2022-05-05
    SELECT count( tx_hash) as number_of_swaps , sum(AMOUNT_OUT_USD) as swap_volume ,
    CASE
    when AMOUNT_OUT_USD >='150000' then 'more than 150000'
    else 'less than 150000'
    end as swap_size
    from ethereum_sushi.ez_swaps
    group by 3
    Run a query to Download Data