Query editor
1 SELECT2 DATE_TRUNC('month', block_time) AS Year,3 project,4 AVG(amount_usd) AS average_transaction_size_usd5 FROM dex.trades6 GROUP BY DATE_TRUNC('month', block_time), 2
SELECT
DATE_TRUNC('month', block_time) AS Year,
project,
AVG(amount_usd) AS average_transaction_size_usd
FROM dex.trades
GROUP BY DATE_TRUNC('month', block_time), 2