Query editor
SELECTevt_type,trade_category,COUNT(*) as event_count,COUNT(DISTINCT nft_contract_address) as unique_contracts,AVG(amount_usd) as avg_amountFROM nft.eventsWHERE blockchain = 'ethereum'AND block_time >= CURRENT_DATE - INTERVAL '7' DAYGROUP BY evt_type, trade_categoryORDER BY event_count DESC;