angel09-SK3z3agoing total tokren7
    Updated 2022-10-22
    with assets_coming_from as (select sum(amount) as eth_value , sum(amount_usd) as usd_value , label
    from ethereum.core.ez_token_transfers as t inner join ethereum.core.dim_labels as l
    on from_address=address
    where amount>0 and amount_usd >0
    and to_address in ('0x10e6593cdda8c58a1d0f14c5164b376352a55f2f','0x99c9fc46f92e8a1c0dec1b1747d010903e884be1','0xaba2c5f108f7e820c049d5af70b16ac266c8f128','0xf20c38fcddf0c790319fd7431d17ea0c2bc9959c')
    group by label),
    assets_coming_from_daily as (select sum(amount) as eth_value , sum(amount_usd) as usd_value , label , block_timestamp::date as date
    from ethereum.core.ez_token_transfers as t inner join ethereum.core.dim_labels as l
    on from_address=address
    where amount>0 and amount_usd >0
    and to_address in ('0x10e6593cdda8c58a1d0f14c5164b376352a55f2f','0x99c9fc46f92e8a1c0dec1b1747d010903e884be1','0xaba2c5f108f7e820c049d5af70b16ac266c8f128','0xf20c38fcddf0c790319fd7431d17ea0c2bc9959c')
    group by label,date),
    where_going as (select sum(amount) as eth_value , sum(amount_usd) as usd_value , label
    from ethereum.core.ez_token_transfers as t inner join ethereum.core.dim_labels as l
    on to_address=address
    where amount>0 and amount_usd >0
    and from_address in ('0x10e6593cdda8c58a1d0f14c5164b376352a55f2f','0x99c9fc46f92e8a1c0dec1b1747d010903e884be1','0xaba2c5f108f7e820c049d5af70b16ac266c8f128','0xf20c38fcddf0c790319fd7431d17ea0c2bc9959c')
    group by label),
    where_going_daily as (select sum(amount) as eth_value , sum(amount_usd) as usd_value , label , block_timestamp::date as date
    from ethereum.core.ez_token_transfers as t inner join ethereum.core.dim_labels as l
    on to_address=address
    where amount>0 and amount_usd >0
    and from_address in ('0x10e6593cdda8c58a1d0f14c5164b376352a55f2f','0x99c9fc46f92e8a1c0dec1b1747d010903e884be1','0xaba2c5f108f7e820c049d5af70b16ac266c8f128','0xf20c38fcddf0c790319fd7431d17ea0c2bc9959c')
    group by label,date),
    assets_coming_from1 as (select sum(amount) as eth_value , sum(amount_usd) as usd_value , symbol
    from ethereum.core.ez_token_transfers as t inner join ethereum.core.dim_labels as l
    on from_address=address
    where amount>0 and amount_usd >0
    and to_address in ('0x10e6593cdda8c58a1d0f14c5164b376352a55f2f','0x99c9fc46f92e8a1c0dec1b1747d010903e884be1','0xaba2c5f108f7e820c049d5af70b16ac266c8f128','0xf20c38fcddf0c790319fd7431d17ea0c2bc9959c')
    group by symbol),
    assets_coming_from_daily1 as (select sum(amount) as eth_value , sum(amount_usd) as usd_value , symbol , block_timestamp::date as date
    from ethereum.core.ez_token_transfers as t inner join ethereum.core.dim_labels as l
    on from_address=address
    where amount>0 and amount_usd >0
    and to_address in ('0x10e6593cdda8c58a1d0f14c5164b376352a55f2f','0x99c9fc46f92e8a1c0dec1b1747d010903e884be1','0xaba2c5f108f7e820c049d5af70b16ac266c8f128','0xf20c38fcddf0c790319fd7431d17ea0c2bc9959c')
    group by symbol,date),
    Run a query to Download Data