Query editor
with ts as (select * fromunnest(sequence(cast(('2022-12-12 00:00:00')as timestamp), cast(now() as timestamp), interval '1' day)) as s(timestamp)),sales as (selectdate_trunc('day', call_block_time) timestamp,count(distinct call_tx_hash) salesfrom foreverland_ethereum.ethernal_love_bridge_call_buyDeedwhere call_success=trueGroup by 1),final as (SelectA.timestamp,B.salesfrom ts Aleft join sales B on A.timestamp = B.timestamp)Selecttimestamp,sales,sum(sales) over (order by timestamp) cumulative_salesFrom final