Query editor
1SELECT2 sum(cast(amount_usd as decimal)) as total_swapped_amount3FROM4 uniswap_v2_ethereum.trades5WHERE6 token_sold_address = 0x06450dEe7FD2Fb8E39061434BAbCFC05599a6Fb87 and token_bought_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc28
SELECT
sum(cast(amount_usd as decimal)) as total_swapped_amount
FROM
uniswap_v2_ethereum.trades
WHERE
token_sold_address = 0x06450dEe7FD2Fb8E39061434BAbCFC05599a6Fb8
and token_bought_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2