Query editor
SELECTDATE_TRUNC('day', block_time) AS t,COUNT(*) AS num_tx,COUNT(DISTINCT tx_from) AS unique_traders,AVG(amount_usd) AS avg_value_usdFROMdex.trades AS tWHEREt.blockchain = 'ethereum'AND block_time >= TIMESTAMP '2023-01-01'AND project = 'bancor'AND version = '1'GROUP BY1ORDER BYt