Query editor
WITH monthly_nft_trades AS (SELECTDATE_TRUNC('month', block_time) AS month_date,SUM(amount_usd) AS total_amount_usdFROM nft.tradesWHERE blockchain = 'ethereum'AND block_number >= 10000000 -- dein StartblockGROUP BY 1),monthly_eth_price AS (SELECTDATE_TRUNC('month', hour) AS month_date,AVG(price_usd) AS avg_eth_price_usdFROM prices.usdWHERE token_address = '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee' -- ETH in DuneGROUP BY 1)SELECTt.month_date,t.total_amount_usd,p.avg_eth_price_usdFROM monthly_nft_trades tJOIN monthly_eth_price pON t.month_date = p.month_dateORDER BY t.month_date ASC;