select
sum(amount) as inflow_amount, date_trunc(week,BLOCK_TIMESTAMP)::date as inflow_date, sum(inflow_amount) over ( order by inflow_date ) as cum_inflow_amount from
solana.core.fact_transfers t,solana.core.dim_labels l
where
t.TX_FROM = l.address and mint='EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
group by 2