Query editor
with data_monthly as (selectblock_month,sum(coalesce(amount_usd,0)) as total_volume,count(distinct buyer) as total_buyers,count(distinct seller) as total_sellers,count(distinct tx_hash) as total_transactions,sum(coalesce(number_of_items,0)) as total_salesfrom nft.tradeswhere block_date < date('2025-09-24')and blockchain = 'base'and nft_contract_address is not nullgroup by 1),data_accumulate as (selectblock_month,total_volume,total_buyers,total_sellers,total_transactions,total_sales,-- accumulatesum(total_volume) over (order by block_month) as accumulate_volume,sum(total_sales) over (order by block_month) as accumulate_sales,sum(total_transactions) over (order by block_month) as accumulate_transactionsfrom data_monthlyorder by block_month)select * from data_accumulatewhere block_month > date('2024-12-31')