Query editor
WITH daily_counts AS (SELECTDATE_TRUNC('day', evt_block_date) AS date,COUNT(*) AS new_accountsFROM blastwallet_blast.smartaccountfactory_evt_accountcreationGROUP BY 1),cumulative AS (SELECTdate,new_accounts,SUM(new_accounts) OVER (ORDER BY date) AS cumulative_accountsFROM daily_countsWHERE date > DATE '2025-01-21'--AND date < CURRENT_DATE)SELECT *, MAX(cumulative_accounts) OVER () AS total_accountsFROM cumulativeORDER BY date;