Query editor
-- This query used incompatible data types from Dune SQL alpha and may need to be updated.-- More details can be found on https://dune.com/docs/query/dunesql-changes/SELECTdate_trunc('week',block_time) week, sum(amount_usd) as amount_usdFROM nft.tradesWHERE buyer IN (SELECT address FROM query_2121487)AND block_time > now() - interval '3' monthGROUP BY 1