with top10 as (select top 10 sum(amount_deposited), depositor
from ethereum.maker.ez_deposits
group by depositor
order by sum(amount_deposited) desc)
select sum(amount_deposited),depositor,date_trunc('day', block_timestamp) from ethereum.maker.ez_deposits
where depositor in (select depositor from top10)
group by depositor,date_trunc('day', block_timestamp)